Trait AeadEncryptor
crypto::aead
pub trait AeadEncryptor { fn encrypt(&mut self, input: &[u8], output: &mut [u8], tag: &mut [u8]); }
fn encrypt(&mut self, input: &[u8], output: &mut [u8], tag: &mut [u8])
impl AeadEncryptor for ChaCha20Poly1305
fn encrypt(&mut self, input: &[u8], output: &mut [u8], out_tag: &mut [u8])
impl<'a> AeadEncryptor for AesGcm<'static>