Enum noise_ring::Aes256Gcm
[−]
[src]
pub enum Aes256Gcm {}
Trait Implementations
impl Cipher for Aes256Gcm
[src]
type Key = [u8; 32]
Type of key.
fn name() -> &'static str
Name of this cipher function.
fn encrypt(k: &Self::Key,
nonce: u64,
authtext: &[u8],
plaintext: &[u8],
out: &mut [u8])
nonce: u64,
authtext: &[u8],
plaintext: &[u8],
out: &mut [u8])
AEAD encryption. Read more
fn decrypt(k: &Self::Key,
nonce: u64,
authtext: &[u8],
ciphertext: &[u8],
out: &mut [u8])
-> Result<(), ()>
nonce: u64,
authtext: &[u8],
ciphertext: &[u8],
out: &mut [u8])
-> Result<(), ()>
AEAD decryption. Read more
fn key_len() -> usize
Length of key.
fn tag_len() -> usize
Length of auth tag. Read more