Blake-224-Sha3r2
BLAKE round 2: the ChaCha-derived SHA-3 candidate tweak that led to the round 3 finalist
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 Blake-224-Sha3r2
Blake-224-Sha3r2 is one of 2 BLAKE (SHA-3 round 2) variants in the NextSSL registry, a cryptographic hash function. It produces a 28-byte (224-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
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–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionBLAKE published by Jean-Philippe Aumasson, Luca Henzen, Willi Meier, Raphael C.-W. Phan
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-3 published as FIPS 202
NIST SHA-3 competition
How it works
- The message is padded and split into blocks, with the bit length and salt mixed into the state.
- Each block is compressed by rounds of the ChaCha-derived G function applied to rows and diagonals of the state.
- 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 28 | Output |
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", "blake-224-sha3r2", None, b"abc")[0]
nextssl_root_hash_with("blake-224-sha3r2", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "blake-224-sha3r2", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other BLAKE (SHA-3 round 2) variants
1Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Blake-224-Sha3r2?
Blake-224-Sha3r2 is a hash in the BLAKE (SHA-3 round 2) family. BLAKE round 2 is the tweak of the BLAKE hash submitted for the second round of NIST's SHA-3 competition.
What are the Blake-224-Sha3r2 sizes?
In NextSSL, Blake-224-Sha3r2 uses: output 28 bytes.
Who designed Blake-224-Sha3r2 and when?
Blake-224-Sha3r2 belongs to the BLAKE (SHA-3 round 2) family, first published in 2008 by Jean-Philippe Aumasson, Luca Henzen, Willi Meier, Raphael C.-W. Phan. Its origin: NIST SHA-3 competition, round 2.
Is Blake-224-Sha3r2 safe to use?
Blake-224-Sha3r2 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 BLAKE (SHA-3 round 2) variants are there?
NextSSL also registers blake-256-sha3r2 in the BLAKE (SHA-3 round 2) family.
Related families
BLAKE round 3: the ChaCha-derived SHA-3 finalist, with 224 to 512-bit digests
BLAKE2A fast, secure successor to BLAKE with built-in keying, salting and tree hashing
BLAKE3A Merkle-tree hash over BLAKE2s rounds, designed for parallel speed and unlimited output
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
Skein (SHA-3 round 3)Skein round 3: the Threefish-based SHA-3 finalist, with 224 to 512-bit digests
BLAKE2A fast, secure successor to BLAKE with built-in keying, salting and tree hashing