Hash Lab

Cryptographic

BLAKE2b

A 64-bit-optimized hash function derived from BLAKE, the SHA-3 finalist. Designed in 2013 by Aumasson, Neves, Wilcox-O’Hearn, and Winnerlein. Faster than SHA-2 and SHA-3, immune to length-extension, and has a built-in keyed mode that replaces HMAC.

At a glance

Output1-512 bits (typically 256 or 512)
Block size1024 bits
Word size64 bits
ConstructionHAIFA + ChaCha-like compression
Rounds12
StandardRFC 7693
Collision security2output/2 generic
Length extensionNo
StatusModern, recommended

BLAKE2 variants

Built-in features

Where it is used

Internal structure

BLAKE2b borrows the G function from ChaCha (itself derived from Salsa20), arranged in a 4×4 grid of 64-bit words. Each round applies 8 G calls (column step then diagonal step). Twelve rounds keep BLAKE2b safe with comfortable margin while delivering ~1–3 GB/s on modern CPUs.

The HAIFA construction adds a counter and a final-block flag to each compression call. That extra context is what frees BLAKE2 from length-extension while keeping a single-pass streaming structure.

Try it

The multi-algorithm hasher includes BLAKE2b-512. The comparator shows its throughput against SHA-256, SHA-3-256, and BLAKE3 in this browser.

References

Visualize

BLAKE2b-512 on your input

11 bytes · 0-bit digest

Hex digest

Bit grid (0 bits, teal = 1, slate = 0)

Byte pixel art (0 bytes, hue = byte value mod 360°)

Avalanche , flipping the lowest bit of the first input byte changed 0 of 0 output bits

Test Your Knowledge

Quick MCQ check on this algorithm

Start Quiz →

AI Summary

Summarize this page in your favorite LLM