pub fn extract(
alg: Algorithm,
salt: impl AsRef<[u8]>,
ikm: impl AsRef<[u8]>,
) -> Vec<u8> ⓘ
Expand description
HKDF extract using hash function mode
, salt
, and the input key material ikm
.
Returns the pre-key material in a vector of tag length.