Keccak-224-Sha3r1
Keccak round 1: the sponge-based SHA-3 candidate before its later tweaks, archived as unverified code
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Keccak-224-Sha3r1
Keccak-224-Sha3r1 is one of 4 Keccak (SHA-3 round 1) variants in the NextSSL registry, a cryptographic hash function. It produces a 28-byte (224-bit) output. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
Keccak round 1 is the first submission of the Keccak sponge hash, which later became SHA-3. NextSSL archives this round 1 version as unverified code, and its outputs do not match the standardised SHA-3 functions.
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 1 submission, which was revised for round 2 and later. NextSSL lists output sizes of 224, 256, 384 and 512-bit, and the registry entries are keccak-224-sha3r1, keccak-256-sha3r1, keccak-384-sha3r1, keccak-512-sha3r1. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons.
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. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. 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.
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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 28 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "keccak-224-sha3r1", None, b"abc")[0]
nextssl_root_hash_with("keccak-224-sha3r1", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "keccak-224-sha3r1", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other Keccak (SHA-3 round 1) variants
3Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Keccak-224-Sha3r1?
Keccak-224-Sha3r1 is a hash in the Keccak (SHA-3 round 1) family. Keccak round 1 is the first submission of the Keccak sponge hash, which later became SHA-3.
What are the Keccak-224-Sha3r1 sizes?
In NextSSL, Keccak-224-Sha3r1 uses: output 28 bytes.
Who designed Keccak-224-Sha3r1 and when?
Keccak-224-Sha3r1 belongs to the Keccak (SHA-3 round 1) family, first published in 2008 by Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche. Its origin: NIST SHA-3 competition, round 1.
Is Keccak-224-Sha3r1 safe to use?
Keccak-224-Sha3r1 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other Keccak (SHA-3 round 1) variants are there?
NextSSL also registers keccak-256-sha3r1, keccak-384-sha3r1, keccak-512-sha3r1 in the Keccak (SHA-3 round 1) family.
Related families
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