Module sha512

Source
Expand description

This is the SHA-512 Algorithm. You can use the standard implementations of sha_512 and sha_384 or you can use custom constants and initial hash values with sha512_internal

Functionsยง

sha512_internal
The internal loop of the SHA-512 algorithm, you can use different initial hash and constant values by implementing the Constants trait on a new object
sha_384
The SHA-384 Algorithm, only use this after having preprocessed your data into message blocks Note that this is essentially the SHA-512 algorithm, except with different constants and a truncated result.
sha_512
The SHA-512 Algorithm, only use this after having preprocessed your data into message blocks