Hamsi (SHA-3 round 2)
Hamsi round 2: Küçük's SHA-3 candidate with a non-linear mixing layer, archived as unverified code
Overview
Hamsi is a SHA-3 candidate designed by Özgül Küçük. Its round 2 version uses a mixing layer built from non-linear and linear steps, and NextSSL archives it as unverified research code.
Hamsi processes each block through a sequence of expansion, non-linear and linear steps applied to a wide internal state. The design aims at efficient software and hardware implementations. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.
The round 2 version is archived at 224, 256, 384 and 512-bit digests, as hamsi-224-sha3r2, hamsi-256-sha3r2, hamsi-384-sha3r2, hamsi-512-sha3r2. Round 2 is a second-round tweak of the design. The archive keeps each output length as its own variant, which lets tests select a specific digest size. Because NextSSL records no independent review for this design, the entries serve research and test coverage rather than hash selection.
Hamsi was one of the SHA-3 candidates that reached round 2 of the competition. Its tier is unverified in NextSSL, so the archive is for comparison and research. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionHamsi published by Özgül Küçük
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
- The message is padded and split into blocks.
- Each block passes through the expansion and non-linear mixing steps.
- The final state is truncated to the variant's digest size.
Security notes
NextSSL records no review for this archive, so no security claim is made. Use SHA-2 or SHA-3 for real systems.
Typical uses
Variants in NextSSL
4| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Hamsi-224-Sha3r2 hamsi-224-sha3r2 |
unverified | out 28 | — | root |
| Hamsi-256-Sha3r2 hamsi-256-sha3r2 |
unverified | out 32 | — | root |
| Hamsi-384-Sha3r2 hamsi-384-sha3r2 |
unverified | out 48 | — | root |
| Hamsi-512-Sha3r2 hamsi-512-sha3r2 |
unverified | out 64 | — | root |
Frequently asked questions
What is Hamsi?
Hamsi is a SHA-3 candidate designed by Özgül Küçük.
Is Hamsi secure?
NextSSL records no review for this archive, so no security claim is made.
What digest sizes does Hamsi produce?
The archived Hamsi variants are: hamsi-224-sha3r2 gives 224-bit (28 bytes); hamsi-256-sha3r2 gives 256-bit (32 bytes); hamsi-384-sha3r2 gives 384-bit (48 bytes); hamsi-512-sha3r2 gives 512-bit (64 bytes).
Which Hamsi (SHA-3 round 2) variants does NextSSL include?
NextSSL registers 4 Hamsi (SHA-3 round 2) variants: hamsi-224-sha3r2, hamsi-256-sha3r2, hamsi-384-sha3r2, hamsi-512-sha3r2.
Families with similar names
Other hash functions
All 424Related
Fugue round 2: IBM's SHA-3 candidate built on a large shift-register state, archived at four sizes
Luffa (SHA-3 round 2)Luffa round 2: a sponge-style SHA-3 candidate with a permutation built from small components
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHAvite-3 (SHA-3 round 2)SHAvite-3 round 2: the AES-based SHA-3 candidate from Biham and Dunkelman, archived as unverified
SIMD (SHA-3 round 2)SIMD round 2: an unverified SHA-3 competition candidate with 224, 256, 384 and 512-bit digests
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2