Module sha2

Module sha2 

Source
Expand description

An implementation of SHA-2.

Structs§

Sha224
Struct used for computing SHA-224 on data not stored contiguously in memory.
Sha256
Struct used for computing SHA-256 on data not stored contiguously in memory.
Sha384
Struct used for computing SHA-384 on data not stored contiguously in memory.
Sha512
Struct used for computing SHA-512 on data not stored contiguously in memory.

Functions§

sha224
Returns the SHA-224 digest of the byte slice passed to it.
sha256
Returns the SHA-256 digest of the byte slice passed to it.
sha384
Returns the SHA-384 digest of the byte slice passed to it.
sha512
Returns the SHA-512 digest of the byte slice passed to it.