Skip to main content

Module blake2

Module blake2 

Source
Expand description

BLAKE2b and BLAKE2s hash functions (RFC 7693).

BLAKE2b (64-bit, 1..64 byte output) and BLAKE2s (32-bit, 1..32 byte output) are cryptographic hash functions designed as faster replacements for MD5 / SHA-1. Not FIPS-approved, but widely used in Argon2, libsodium, WireGuard, and many file-integrity tools.

Structsยง

Blake2b
BLAKE2b hasher (RFC 7693). Default: 64-byte output, 128-byte blocks.
Blake2s
BLAKE2s hasher (RFC 7693). Default: 32-byte output, 64-byte blocks.