Skip to main content

Module hkdf

Module hkdf 

Source

Enums§

HkdfError

Functions§

derive_key
One-shot extract-then-expand.
expand
Expand step: OKM = T(1) || T(2) || ..., where T(i) = HMAC-Hash(PRK, T(i-1) || info || i).
extract
Extract step: PRK = HMAC-Hash(salt, IKM).