Skip to main content

Module hash

Module hash 

Source
Expand description

SHA-512 hashing helpers.

SigMF records the SHA-512 digest of a dataset in core:sha512. These helpers compute digests and return them as 128-character lowercase hexadecimal strings.

Functionsยง

hash_from_path
Computes the SHA-512 digest of the file at path.
hash_from_reader
Computes the SHA-512 digest of everything remaining in reader.
hash_from_slice
Computes the SHA-512 digest of data.