spec-fips-202-sha3
NIST FIPS 202 spec of SHA-3: Keccak-based hash functions SHA3-224/256/384/512 and XOFs SHAKE128/256, defined via KECCAK-p permutations and the sponge construction.
Schemes: SHA3-224, SHA3-256, SHA3-384, SHA3-512, SHAKE128, SHAKE256, KECCAK-p[1600,24], KECCAK-f[1600]
Findings (quotes checked against the source text)
-
SHA-3 consists of four fixed-digest hash functions and two extendable-output functions, all built on the same sponge construction and underlying permutation.
SHAKE128 and SHAKE256 are the first XOFs that NIST has standardized.
-
The six SHA-3 functions are modes of one permutation, KECCAK-p[1600,24], which equals KECCAK-f[1600].
Consequently, the KECCAK-p[1600, 24] permutation, which underlies the six SHA-3 functions, is
-
In the sponge construction the rate and capacity must sum to the width, and the rate must be strictly less than the width.
The rate r is a positive integer that is strictly less than the width b. The capacity, denoted by c, is
-
Using SHA-3 and SHA-2 together gives resilience against future hash analysis because the two families use fundamentally different design principles.
resilience against future advances in hash function analysis, because they rely on fundamentally
-
Where variable-length XOF outputs are problematic, domain separation is the general fix, so separate XOF instances are used for separate purposes.
Where extended digests are problematic, a more general solution is domain separation, by which
-
Conformance to the standard does not by itself guarantee that an implementation is secure.
- Qualifications: Although this Standard specifies mathematical functions that are suitable
Numbers (as extracted, not quote-checked)
- KECCAK-p permutation width b used by the SHA-3 functions: 1600 bits
- Rounds in KECCAK-p[1600, nr] used by SHA-3: 24
- FIPS-approved hash digest lengths (SHA-3 set includes 224, 256, 384, 512): 160, 224, 256, 384, 512 bits
For builders
Use SHA3-256 or SHAKE256 as the hash and XOF primitive in a PQ chain design, and add domain separation whenever deriving keys or variable-length outputs.
Limits
Pure hash/XOF spec with no post-quantum security analysis; it does not cover signatures, Grover-cost estimates, or chain-level migration, and it says nothing about implementation side channels.