Hash family

Luffa (SHA-3 round 1)

Luffa round 1: a sponge-style SHA-3 candidate with a permutation built from small components

unverified 4 variants NIST SHA-3 competition, round 1

Overview

Luffa is a SHA-3 candidate built from a sponge-style construction and a permutation made of small components. The round 1 version is archived by NextSSL as unverified research code and was not selected.

Luffa absorbs message blocks into a state of several small components and applies a permutation built from them for each block. The layout is chosen for compact hardware and fast software. 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 1 version is archived at 224, 256, 384 and 512-bit digests, as luffa-224-sha3r1, luffa-256-sha3r1, luffa-384-sha3r1, luffa-512-sha3r1. Round 1 is a first-round submission 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.

Luffa reached round 2 of the SHA-3 competition. NextSSL marks the archive as unverified, so use it for comparison and research only. 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–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Luffa published by Christophe De Cannière, Hisayoshi Sato, Dai Watanabe

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

How it works

  1. The message is padded and absorbed in blocks.
  2. Each block is mixed into the state and the permutation is applied.
  3. The output is squeezed from the final state and truncated to the requested 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

Historical comparison of SHA-3 candidatesResearch into sponge-style hashingNot recommended for production hashing

Variants in NextSSL

4
AlgorithmTierSizes (bytes)StandardsAPI
Luffa-224-Sha3r1
luffa-224-sha3r1
unverified out 28 — root
Luffa-256-Sha3r1
luffa-256-sha3r1
unverified out 32 — root
Luffa-384-Sha3r1
luffa-384-sha3r1
unverified out 48 — root
Luffa-512-Sha3r1
luffa-512-sha3r1
unverified out 64 — root

Frequently asked questions

What is Luffa?

Luffa is a SHA-3 candidate built from a sponge-style construction and a permutation made of small components.

Is Luffa secure?

NextSSL records no review for this archive, so no security claim is made.

What digest sizes does Luffa produce?

The archived Luffa variants are: luffa-224-sha3r1 gives 224-bit (28 bytes); luffa-256-sha3r1 gives 256-bit (32 bytes); luffa-384-sha3r1 gives 384-bit (48 bytes); luffa-512-sha3r1 gives 512-bit (64 bytes).

Which Luffa (SHA-3 round 1) variants does NextSSL include?

NextSSL registers 4 Luffa (SHA-3 round 1) variants: luffa-224-sha3r1, luffa-256-sha3r1, luffa-384-sha3r1, luffa-512-sha3r1.