Skip to main content

derive_key

Function derive_key 

Source
pub async fn derive_key(
    input: &DeriveInput,
    length: Option<u32>,
    options: MacKeyOptions,
) -> Result<MacKey, Error>
Expand description

Mint a key from a parameterized derivation. See hmac-sha2.derive-key.