pub async fn generate_key(
variant: AesVariant,
options: AeadKeyOptions,
) -> Result<AeadKey, 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.