Keccak (SHA-3 round 3)
Keccak round 3: the finalist sponge hash that NIST standardised as SHA-3 in FIPS 202
Overview
Keccak round 3 is the finalist version of the Keccak sponge hash. NIST selected Keccak in 2012 and standardised SHA-3 in FIPS 202, but this round 3 archive differs from the final standard in its padding.
Keccak is a sponge construction: the state is absorbed with message blocks, then squeezed for output. Its permutation is Keccak-f, which mixes the state with simple bitwise operations and rotations, so no table lookups are needed. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data.
This is the round 3 finalist version. NIST later published FIPS 202 with a domain separation change, so its digests differ from SHA3 output. NextSSL lists output sizes of 224, 256, 384 and 512-bit, and the registry entries are keccak-224-sha3r3, keccak-256-sha3r3, keccak-384-sha3r3, keccak-512-sha3r3. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.
The SHA-3 standard, FIPS 202, is derived from Keccak and adds a domain separation suffix to the padding. Round versions therefore do not produce the same digests as SHA3-224, SHA3-256, SHA3-384 or SHA3-512. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionKeccak published by Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-3 published as FIPS 202
NIST SHA-3 competition
How it works
- Message bits are padded to a multiple of the rate.
- Blocks are XORed into the first part of the state and the Keccak-f permutation is applied.
- After the last block the output is squeezed from the state up to the digest length.
Security notes
Keccak is the SHA-3 winner and has been intensively analysed; no break of the full standard is known. This round archive is tiered unverified, and it does not implement the final FIPS 202 padding.
Typical uses
Variants in NextSSL
4| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Keccak-224-Sha3r3 keccak-224-sha3r3 |
unverified | out 28 | — | root |
| Keccak-256-Sha3r3 keccak-256-sha3r3 |
unverified | out 32 | — | root |
| Keccak-384-Sha3r3 keccak-384-sha3r3 |
unverified | out 48 | — | root |
| Keccak-512-Sha3r3 keccak-512-sha3r3 |
unverified | out 64 | — | root |
Frequently asked questions
What is Keccak?
Keccak round 3 is the finalist version of the Keccak sponge hash.
Is Keccak secure?
Keccak is the SHA-3 winner and has been intensively analysed; no break of the full standard is known.
What digest sizes does Keccak produce?
The archived Keccak variants are: keccak-224-sha3r3 gives 224-bit (28 bytes); keccak-256-sha3r3 gives 256-bit (32 bytes); keccak-384-sha3r3 gives 384-bit (48 bytes); keccak-512-sha3r3 gives 512-bit (64 bytes).
Which Keccak (SHA-3 round 3) variants does NextSSL include?
NextSSL registers 4 Keccak (SHA-3 round 3) variants: keccak-224-sha3r3, keccak-256-sha3r3, keccak-384-sha3r3, keccak-512-sha3r3.
Families with similar names
hash · 4 variants
hash · 4 variants
hash · 4 variants
hash · 4 variants
hash · 4 variants
hash · 4 variants
hash · 4 variants
hash · 2 variants
Other hash functions
All 424Related
The Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
KMACNIST's Keccak-based MAC from SP 800-185, with optional arbitrary-length output
cSHAKECustomisable SHAKE from SP 800-185, adding function-name and customisation strings
KangarooTwelveA fast tree-hashing XOF over 12-round Keccak, standardised in RFC 9861
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak