pub fn encrypt( key: &Key, msg_ctxt: &mut [u8], iv: Iv, aad: &[u8], ) -> Result<Tag, Error>
AEAD encrypt the message in msg_ctxt with the key, iv and aad.
msg_ctxt
key
iv
aad
Returns the Tag and the ciphertext in msg_ctxt.
Tag