Module kdf

Module kdf 

Source
Expand description

Key derivation functions using HKDF.

Structs§

KeyDerivation
HKDF context for deriving keys.

Enums§

KdfError
KDF error types.

Functions§

derive_chunk_keys
Derive multiple chunk keys at once for efficiency.
derive_chunk_nonce
Derive a nonce for a specific chunk.
derive_content_key
Derive a content encryption key from a master key and content ID.
hkdf_extract_expand
Simple HKDF extract-and-expand in one operation.