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 an AES-CTR key of the declared variant from a parameterized derivation. See aes_gcm::derive_key for the grant contracts.