Hash family

Shabal

A SHA-3 second-round candidate from France's Saphir project, built on a keyed permutation

unverified 1 variant NIST SHA-3 competition (round 2)

Overview

Shabal is a hash function submitted to the NIST SHA-3 competition by the French Saphir research project. It reached the second round and is notable for its security proof in an ideal-cipher model.

Shabal's mode keeps three registers: A (12 words), B and C (16 words each). Each 512-bit message block is added to B, XORed with a counter into A, and processed by a keyed permutation that updates A and B using nonlinear shift-register-style rounds of 32-bit additions, rotations and multiplications by small constants. The block is then subtracted from C and B and C are swapped. Three final rounds without new input produce the output.

One function covers all output lengths, from 192 to 512 bits, by truncation. NextSSL includes a sphlib-based Shabal entry and Shabal-256 and Shabal-512 entries wired from benchmarking sources. Shabal was one of the few candidates with an explicit indifferentiability proof for its mode. 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. Shabal published by Saphir project (France)

  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

Distinguishers on Shabal's internal permutation were published, though they did not translate into practical attacks on the hash. It was not chosen as a finalist and is for research use.

Typical uses

SHA-3 competition researchStudy of permutation-based modes with counters

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Shabal512
shabal512
unverified out 64 — root

Frequently asked questions

Which Shabal variants does NextSSL include?

NextSSL registers 1 Shabal variant: shabal512.