Skip to main content

decrypt

Function decrypt 

Source
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).