Skip to main content

Module digest

Module digest 

Source
Expand description

SHA-256 (FIPS 180-4) that hashes a stream in blocks, so a data set is digested without being held in memory, and HMAC-SHA-256 (RFC 2104). Written here because the runtime takes no dependencies.

Structs§

Sha256

Functions§

hex
hmac
sha256
sha256_reader
The digest of everything reader yields, and how many bytes that was.