Function cryptoxide::hkdf::hkdf_extract [−][src]
Expand description
Execute the HKDF-Extract function. Applications MUST NOT use this for password hashing.
Arguments
- digest - The digest function to use.
- salt - The optional salt value (a non-secret random value) to use.
- ikm - The input keying material to use.
- prk - The output buffer to fill with a
digest.output_bytes()
length pseudo random key.