Skip to main content
Module hkdf
crypto
0.1.0
Module hkdf
Module Items
Enums
Functions
In crate crypto
crypto
Module
hkdf
Copy item path
Source
Enums
§
Hkdf
Error
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)
.