Hash family

BLAKE (SHA-3 round 2)

BLAKE round 2: the ChaCha-derived SHA-3 candidate tweak that led to the round 3 finalist

unverified 2 variants NIST SHA-3 competition, round 2

Overview

BLAKE round 2 is the tweak of the BLAKE hash submitted for the second round of NIST's SHA-3 competition. It keeps the ChaCha-derived design and is archived by NextSSL as unverified research code.

BLAKE follows a HAIFA-style iteration. Its compression function applies a ChaCha-derived G function to a 16-word state, mixing message words with salt and a bit counter. The counter and the finalisation flag separate the final block from the rest, which blocks simple length-extension attacks. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data.

This is the round 2 tweak, which preceded the round 3 finalist version. NextSSL lists output sizes of 224 and 256-bit, and each size is a separate registry entry: blake-224-sha3r2, blake-256-sha3r2. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons.

BLAKE was one of the more heavily analysed SHA-3 candidates. Its public analysis covers reduced-round variants, and NextSSL does not record a full-round break. The archive is still labelled unverified, since no independent review is recorded. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data.

History

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

    NIST SHA-3 competition
  2. BLAKE published by Jean-Philippe Aumasson, Luca Henzen, Willi Meier, Raphael C.-W. Phan

  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 split into blocks, with the bit length and salt mixed into the state.
  2. Each block is compressed by rounds of the ChaCha-derived G function applied to rows and diagonals of the state.
  3. A final-block flag is set before the last compression, and the output is truncated to the requested size.

Security notes

Round 2 code is archived only for comparison. Published analysis focuses on the finalist version and on reduced-round variants.

Typical uses

Historical comparison of SHA-3 candidatesResearch and test-vector experimentsNot recommended for production hashing

Variants in NextSSL

2
AlgorithmTierSizes (bytes)StandardsAPI
Blake-224-Sha3r2
blake-224-sha3r2
unverified out 28 — root
Blake-256-Sha3r2
blake-256-sha3r2
unverified out 32 — root

Frequently asked questions

What is BLAKE?

BLAKE round 2 is the tweak of the BLAKE hash submitted for the second round of NIST's SHA-3 competition.

Is BLAKE secure?

Round 2 code is archived only for comparison.

What digest sizes does BLAKE produce?

The archived BLAKE variants are: blake-224-sha3r2 gives 224-bit (28 bytes); blake-256-sha3r2 gives 256-bit (32 bytes).

Which BLAKE (SHA-3 round 2) variants does NextSSL include?

NextSSL registers 2 BLAKE (SHA-3 round 2) variants: blake-224-sha3r2, blake-256-sha3r2.