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
XChaCha20 decryption as specified in the draft RFC.