Trait askar_crypto::encrypt::KeyAeadMeta[][src]

pub trait KeyAeadMeta {
    type NonceSize: ArrayLength<u8>;
    type TagSize: ArrayLength<u8>;
    fn random_nonce() -> GenericArray<u8, Self::NonceSize> { ... }
}
Expand description

For concrete key types with fixed nonce and tag sizes

Associated Types

The size of the AEAD nonce

The size of the AEAD tag

Provided methods

Generate a new random nonce

Implementors