Hash functions

Fugue2

IBM's SHA-3 candidate built on an AES-like 'super-mix' over a large circular state

unverified Root API only
Unverified tier.

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 Fugue2

Fugue2 is a cryptographic hash function from the Fugue family. It produces a 32-byte (256-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

Fugue is a hash function designed at IBM Research and submitted to the NIST SHA-3 competition, where it reached the second round. It processes one 32-bit word at a time into a large state and is notable for its proofs relating its security to its mixing component.

Fugue keeps a state of 30 or 36 32-bit columns, depending on output size. For each 32-bit input word it injects the word into the state, rotates the columns, and applies a SMIX transformation: AES S-boxes applied to bytes of four columns followed by a 16x16 'super-mix' matrix. After the message is consumed, a longer finalisation of many extra rounds produces the output.

The fugue2 entry corresponds to a revised Fugue specification wired from a benchmarking source. Exactly which digest length and specification revision it implements has not been verified by NextSSL. Fugue's designers provided proofs that bound collision attacks in terms of properties of the SMIX transformation, which was unusual among the candidates. Like the other non-selected candidates, its main value today is as a reference point for understanding the designs NIST evaluated and the cryptanalysis the competition produced.

History

2007–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Fugue published by Shai Halevi, William E. Hall, Charanjit S. Jutla

  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

Security notes

No practical attacks on full Fugue are known. It was not selected as a finalist, and this entry is unverified, so it is suitable only for research.

Typical uses

SHA-3 competition researchStudying word-at-a-time hash designs

Sizes

FieldBytesMeaning
out32Output

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", "fugue2", None, b"abc")[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Fugue2?

Fugue2 is a hash in the Fugue family. Fugue is a hash function designed at IBM Research and submitted to the NIST SHA-3 competition, where it reached the second round.

What are the Fugue2 sizes?

In NextSSL, Fugue2 uses: output 32 bytes.

Who designed Fugue2 and when?

Fugue2 belongs to the Fugue family, first published in 2008 by Shai Halevi, William E. Hall, Charanjit S. Jutla. Its origin: NIST SHA-3 competition (round 2).

Is Fugue2 safe to use?

Fugue2 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).