Expand description
SHA-2 digest minting (FIPS 180-4), and the home of the sha2-variant
enum every SHA-2-parameterized interface shares (hmac-sha2 uses it
too).
Digests returned here drive digest.digest.compute.
Enums§
- Sha2
Variant - The SHA-2 variants: FIPS 180-4 closes this set, so it is an enum.
(Each algorithm interface names its closed set of parameterizations
<algorithm>-variant.)
Functions§
- make_
digest - A
digestbound to the declared SHA-2 variant. Fails witherror.unsupportedif this implementation does not serve the variant.