Hash functions

FSB-224

Fast Syndrome-Based hash: a provable-security design rooted in coding theory

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 FSB-224

FSB-224 is one of 5 FSB variants in the NextSSL registry, a cryptographic hash function. It produces a 28-byte (224-bit) output. Its registry entry cites FSB-224 (SHA-3 competition round 2 candidate). 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

FSB (Fast Syndrome-Based hash) is a hash function whose security reduces to the hardness of decoding problems in error-correcting codes. A version was submitted to the NIST SHA-3 competition; it was not selected as a finalist.

FSB's compression function treats the input as a selection of columns from a large binary matrix: each chunk of input chooses one column from a section, and the selected columns are XORed to form a syndrome. Finding collisions or preimages is related to the regular syndrome decoding problem, an NP-complete problem studied in coding theory. In the SHA-3 version a final Whirlpool step compresses the large internal state to the requested output length.

NextSSL includes FSB-160, FSB-224, FSB-256, FSB-384 and FSB-512. The design was relatively slow and memory-hungry compared with other competitors, which is the usual price of reduction-based hash designs. Its outputs are not compatible with earlier academic versions of FSB, which used different parameters. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

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

    NIST SHA-3 competition
  2. FSB published

  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

FSB's security argument depends on parameters that were adjusted after earlier versions were attacked with linearisation and generalised birthday techniques. The SHA-3 version is not known to be broken, but NextSSL has not verified these implementations.

Typical uses

Research on provably secure hash constructionsCoding-theory-based cryptography studies

Sizes

FieldBytesMeaning
out28Output

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

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

Other FSB variants

4

Frequently asked questions

What is FSB-224?

FSB-224 is a hash in the FSB family. FSB (Fast Syndrome-Based hash) is a hash function whose security reduces to the hardness of decoding problems in error-correcting codes.

What are the FSB-224 sizes?

In NextSSL, FSB-224 uses: output 28 bytes.

Who designed FSB-224 and when?

FSB-224 belongs to the FSB family, first published in 2008 by Daniel Augot, Matthieu Finiasz, Philippe Gaborit, Stéphane Manuel, Nicolas Sendrier. Its origin: NIST SHA-3 competition.

Which standards define FSB-224?

FSB-224 is referenced by FSB-224 (SHA-3 competition round 2 candidate).

Is FSB-224 safe to use?

FSB-224 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 FSB variants are there?

NextSSL also registers fsb-160, fsb-256, fsb-384, fsb-512 in the FSB family.