Hawkynt

BLAKE2s

BLAKE2s is a high-speed cryptographic hash function optimized for 8-32 bit platforms. It’s the 32-bit version of BLAKE2 and is used in protocols like WireGuard.

Properties

Property Value
Category Hash Functions
Sub-category BLAKE Family
Security status Not classified
Complexity Advanced
Inventor Jean-Philippe Aumasson, Samuel Neves, Zooko Wilcox-O’Hearn, Christian Winnerlein
Year 2012
Origin 🇨🇭 Switzerland
Source algorithms/hash/blake2.js

Parameters

Parameter Supported values
Output sizes 32 bytes (256 bits)

Security

Status: not classified — treat as unverified.

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 — RFC 7693 BLAKE2s - Empty string

Field Value
input (empty)
expected 69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9

Vector 2 — RFC 7693 BLAKE2s - ‘abc’

Field Value
input 616263
expected 508c5e8c327c14e2e1a72ba34eeb452f37458b209ed63a294d999b4c86675982

Vector 3 — Linux crypto test vector - Empty string unkeyed

Field Value
input (empty)
expected 69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9

← All algorithms