Skip to main content

derive_key

Function derive_key 

Source
pub async fn derive_key(
    variant: AesVariant,
    input: &DeriveInput,
    options: KwKeyOptions,
) -> Result<KwKey, Error>
Expand description

Mint a key from a parameterized derivation (the aes-gcm.derive-key contract, minting a kw-key).