Skip to main content

Module blake3

Module blake3 

Source
Expand description

BLAKE3 (hash / keyed_hash / derive_key + XOF), re-exported from krypteia-tessera.

Structs§

Blake3
Streaming BLAKE3 hasher / XOF.

Functions§

blake3_hash
One-shot unkeyed BLAKE3, arbitrary-length XOF output. BLAKE3 spec §2.1.
derive_key
One-shot derive_key KDF: bind key_material to context, arbitrary output. The context string should be a hardcoded, application-unique, globally-unique constant. BLAKE3 spec §2.1 / §5.
keyed_hash
One-shot keyed BLAKE3 (keyed_hash) over a 32-byte key, arbitrary output. A PRF / MAC. BLAKE3 spec §2.1.