pub fn encrypt( alg: Algorithm, k: &[u8], msg: &[u8], iv: &[u8], aad: &Aad, ) -> Result<(Ciphertext, Vec<u8>), Error>
Single-shot API for AEAD encryption.