Skip to main content

Crate quantaegis_sha3

Crate quantaegis_sha3 

Source
Expand description

From-scratch, pure-Rust, #![no_std] implementation of NIST FIPS 202 (SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions).

Provides the four FIPS 202 primitives required by FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA):

§Security Properties

  • Zero external cryptographic dependencies; #![forbid(unsafe_code)]; #![no_std].
  • All internal Keccak-f[1600] states and byte buffers are automatically zeroized on drop.
  • Constant-time bitwise permutation with no secret-dependent branching or table lookups.

Structs§

Sha3_256
SHA3-256 hash function (FIPS 202, Section 6.1).
Sha3_512
SHA3-512 hash function (FIPS 202, Section 6.1).
Shake128
SHAKE128 extendable-output function (FIPS 202, Section 6.2).
Shake256
SHAKE256 extendable-output function (FIPS 202, Section 6.2).
Shake128Reader
Streaming output reader for Shake128.
Shake256Reader
Streaming output reader for Shake256.