Function decrypt

pub fn decrypt(
    secret_key: &SecretKey,
    nonce: &Nonce,
    initial_counter: u32,
    ciphertext: &[u8],
    dst_out: &mut [u8],
) -> Result<(), UnknownCryptoError> 
Available on crate feature dep_orion only.
Expand description

IETF ChaCha20 decryption as specified in the RFC 8439.