2 Hash
Various cryptography hash functions.
2.1 MD5
(require grommet/crypto/hash/md5) | package: grommet |
procedure
(md5-hex array) → Bytes
array : (U String Bytes Input-Port)
procedure
(md5-bytes array) → Bytes
array : (U String Bytes Input-Port)
Typed wrappers around the MD5 procedures in file/md5 in untyped Racket.
procedure
(md5-file-hex fname) → Bytes
fname : Path
procedure
(md5-file-bytes fname) → Bytes
fname : Path
Typed wrappers around the MD5 procedures in file/md5 in untyped Racket except takes the path to a file on the file system
2.2 SHA-1
(require grommet/crypto/hash/sha1) | package: grommet |
Typed wrapper around sha1-bytes procedure provided by Racket’s openssl/sha1.
2.3 SHA-256
Pure Typed Racket implementation of SHA-256.