Hash functions

Bblake256

The original BLAKE hash, a SHA-3 finalist and ancestor of BLAKE2 and BLAKE3

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 Bblake256

Bblake256 is a cryptographic hash function from the BLAKE (SHA-3 finalist) 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

BLAKE was one of the five finalists in the NIST SHA-3 competition. It combined the HAIFA iteration mode with a compression function built from the ChaCha quarter-round, and it is the direct ancestor of BLAKE2 and BLAKE3.

BLAKE's compression function arranges a 16-word state as a 4x4 matrix and applies column and diagonal G functions, a structure borrowed from Bernstein's ChaCha. The HAIFA mode feeds a salt and a counter of hashed bits into every compression, which prevents several generic attacks on plain Merkle–Damgård. In the original submission the 32-bit and 64-bit versions were called BLAKE-32 and BLAKE-64; they were later renamed BLAKE-256 and BLAKE-512.

NextSSL carries blake64, the 64-bit-word version that became BLAKE-512, and bblake256, a BLAKE-256 entry wired from a benchmarking source collection whose exact variant NextSSL has not independently confirmed. Both are of historical and research interest; Keccak was chosen as SHA-3 in 2012, and BLAKE's designers went on to produce BLAKE2.

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

Security notes

No practical attacks on full BLAKE are known, but it has been superseded by BLAKE2 and BLAKE3, which are faster and more widely supported. NextSSL has not verified these entries against official test vectors.

Typical uses

Research and comparison with BLAKE2/BLAKE3Reproducing SHA-3 competition results

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", "bblake256", 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 Bblake256?

Bblake256 is a hash in the BLAKE (SHA-3 finalist) family. BLAKE was one of the five finalists in the NIST SHA-3 competition.

What are the Bblake256 sizes?

In NextSSL, Bblake256 uses: output 32 bytes.

Who designed Bblake256 and when?

Bblake256 belongs to the BLAKE (SHA-3 finalist) family, first published in 2008 by Jean-Philippe Aumasson, Luca Henzen, Willi Meier, Raphael C.-W. Phan. Its origin: SHA-3 competition finalist.

Is Bblake256 safe to use?

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