Skip to main content

derive_key

Function derive_key 

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

Mint an HMAC-SHA-1 key from a parameterized derivation. See hmac_sha2::derive_key for the length and grant contracts.