pub async fn generate_key(
variant: AesVariant,
options: CipherKeyOptions,
) -> Result<CipherKey, Error>Expand description
Generate a fresh random key of the given AES variant. Fails with
error.unsupported if this implementation does not serve the
variant.