Type Definition crypto::ciphers::aes_gcm::Aes256Gcm

source ·
pub type Aes256Gcm = Aes256Gcm;

Trait Implementations§

Warning: type conversions on the tag type can be tricky. instead of &mut tag.try_into().unwrap() use (&mut tag).try_into().unwrap()

The size of the key required by this algorithm.
The size of the nonce required by this algorithm.
The size of the tag produced by this algorithm.
A human-friendly identifier of this algorithm.
Decrypt the given ciphertext using key and tag. Read more
A const version of Aead::KeyLength.
A const version of Aead::NonceLength.
A const version of Aead::TagLength.
Encrypt the given plaintext using key. Read more
Decrypt the given ciphertext using key and tag. Read more
Generates a random nonce with the correct size for this algorithm.
Returns the size of the padding applied to the input buffer. Read more