Function derive_symmetric_key_from_prf

Source
pub fn derive_symmetric_key_from_prf(
    prf: &[u8],
) -> Result<SymmetricCryptoKey, CryptoError>
Expand description

Takes the output of a PRF and derives a symmetric key.

The PRF output must be at least 32 bytes long. If longer, only the first 32 bytes will be used, and the remainder is discarded.