Function hacl::hkdf::extract

source ·
pub fn extract(mode: Algorithm, salt: &[u8], ikm: &[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.