Skip to main content

aead_decrypt

Function aead_decrypt 

Source
pub fn aead_decrypt(
    algorithm: AeadAlgorithm,
    params: &AeadParams<'_>,
    ciphertext_with_tag: &[u8],
) -> Result<Zeroizing<Vec<u8>>, AlgorithmError>
Expand description

Decrypts with an AEAD through the operation-layer semantic owner.