Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(
    ciphertext: &[u8],
    key: &[u8],
    aad: Option<&[u8]>,
) -> Result<Vec<u8>>
Expand description

Decrypt and authenticate a token.