Skip to main content

prepare

Function prepare 

Source
pub async fn prepare(
    input: &Ikm,
    salt: impl Into<Vec<u8>>,
    info: impl Into<Vec<u8>>,
) -> Result<DeriveInput, Error>
Expand description

Parameterize an HKDF-SHA-1 derivation over imported keying material. See hkdf_sha2::prepare for the salt and info contracts.