Skip to main content

decrypt_string

Function decrypt_string 

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

Decrypt and authenticate a token, returning a string.