pub fn hkdf(
mode: Algorithm,
salt: &[u8],
ikm: &[u8],
info: &[u8],
okm_len: usize,
) -> Vec<u8> ⓘ
Expand description
HKDF using hash function mode
, salt
, input key material ikm
, info
, and output length okm_len
.
Calls extract
and expand
with the given input.
Returns the key material in a vector of length okm_len
.