Skip to main content

Module digest

Module digest 

Source
Expand description

Hashing under a profile: SHA-2 (FIPS 180-4) and SHA-3 (FIPS 202), full-length digests only.

Structs§

Hasher
An incremental hash under a profile. It is not Clone, and Debug names its algorithm only.

Functions§

digest
The full-length digest of data under h. Refuses, in order, a hash a’s profile does not admit or its module line lacks (Admitted::admit_hash) and one this backend does not implement (CryptoError::Unavailable). Panics only if the module’s digest context fails.