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