Hash Lab

Unkeyed cryptographic

BLAKE2s

The 32-bit-tuned sibling of BLAKE2b. Same designers (Aumasson, Neves, Wilcox-O’Hearn, Winnerlein, 2013), same HAIFA-on-ChaCha-quarter-round structure, but operating on 32-bit words and a smaller state. BLAKE2s is the right pick whenever you’re on a 32-bit microcontroller, an IoT device, or any environment where BLAKE2b’s 64-bit word size would be slow or oversized.

At a glance

Output1 to 256 bits (typically 128 or 256)
Block size512 bits
Word size32 bits
Rounds10 (vs 12 for BLAKE2b)
StandardRFC 7693
Length extensionNo (HAIFA finalization flag)
StatusModern, recommended for 32-bit / constrained contexts

vs BLAKE2b

PropertyBLAKE2bBLAKE2s
Word size64-bit32-bit
Rounds1210
State size1024 bits512 bits
Max output512 bits256 bits
Best on64-bit CPUs, servers32-bit MCUs, embedded

Where it shows up

BLAKE2’s built-in features (apply to both b and s)

References

Visualize

BLAKE2s-256 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

Quick quiz

Test yourself on blake2s

10 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.BLAKE2s word size:

  2. Q2.BLAKE2s max output size:

  3. Q3.BLAKE2s rounds:

  4. Q4.Which standard publishes BLAKE2 (and BLAKE2s)?

  5. Q5.Length-extension on BLAKE2s?

  6. Q6.Which production system uses keyed BLAKE2s as a MAC?

  7. Q7.Zcash Equihash uses:

  8. Q8.BLAKE2sp:

  9. Q9.Best CPU class for BLAKE2s:

  10. Q10.BLAKE2 has a built-in keyed mode replacing:

0 of 10 answered