Skip to main content

Module sha3

Module sha3 

Source
Expand description

SHA-3, SHAKE and cSHAKE (FIPS 202 / SP 800-185), re-exported from krypteia-tessera. KeccakState is the raw sponge used by HMAC-style constructions in crate::mac.

Structsยง

CShake128
cSHAKE128 (NIST SP 800-185).
CShake256
cSHAKE256 (NIST SP 800-185).
KeccakState
A Keccak-f[1600] sponge in absorbing/squeezing mode.
Sha3_224
SHA3-224 (rate 144, output 28 octets).
Sha3_256
SHA3-256 (rate 136, output 32 octets).
Sha3_384
SHA3-384 (rate 104, output 48 octets).
Sha3_512
SHA3-512 (rate 72, output 64 octets).
Shake128
SHAKE128 XOF (rate 168, 128-bit security).
Shake256
SHAKE256 XOF (rate 136, 256-bit security).