dec

Function dec 

Source
pub fn dec(
    key: &SymmetricKey,
    nonce: &Nonce,
    buf: &mut [u8],
    auth: &[u8],
) -> Result<()>
Expand description

Decrypts an authenticated ciphertext.