pub fn decrypt(
key: &[u8],
ciphertext: AuthCiphertext,
) -> Result<Vec<u8>, AuthError>Expand description
Decrypts and checks the MAC of an AuthCiphertext object, given
a key of any size greater than 128 bits (16 bytes).
pub fn decrypt(
key: &[u8],
ciphertext: AuthCiphertext,
) -> Result<Vec<u8>, AuthError>Decrypts and checks the MAC of an AuthCiphertext object, given
a key of any size greater than 128 bits (16 bytes).