Skip to main content

Module sha3

Module sha3 

Source
Expand description

SHA-3 (Keccak-f[1600]) from FIPS 202.

This module implements the fixed-output SHA-3 family:

  • Sha3_224
  • Sha3_256
  • Sha3_384
  • Sha3_512

The core is the Keccak sponge over the 1600-bit permutation with the SHA-3 domain-separation suffix 0x06.

Shake128 and Shake256 are built on the same permutation, but use the SHAKE domain suffix (0x1f) and expose the sponge’s natural absorb-then-squeeze interface through the Xof trait.

Structs§

Sha3_224
Sha3_256
Sha3_384
Sha3_512
Shake128
Shake256