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, andDebugnames its algorithm only.
Functions§
- digest
- The full-length digest of
dataunderh. Refuses, in order, a hasha’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.