about summary refs log tree commit diff
path: root/tests/lang/eval-okay-hash.exp
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03 Add builtins.hashFileDaniel Schaefer1-1/+0
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed.
2015-11-04 Support SHA-512 hashesEelco Dolstra1-1/+1
Fixes #679. Note: on x86_64, SHA-512 is considerably faster than SHA-256 (198 MB/s versus 131 MB/s).
2013-02-08 Rename "hash" to "hashString" and handle SHA-1Eelco Dolstra1-1/+1
2013-02-08 experimental/hashMarc Weber1-0/+1
adding primop function calculating hash of a string Signed-off-by: Marc Weber <marco-oweber@gmx.de>