Skip to main content

derive_key

Function derive_key 

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

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