Skip to main content

import_key_raw

Function import_key_raw 

Source
pub async fn import_key_raw(
    variant: AesVariant,
    raw: impl Into<Vec<u8>>,
    options: CipherKeyOptions,
) -> Result<CipherKey, Error>
Expand description

Import raw key material as the declared AES variant.