Function dryoc::classic::crypto_secretbox::crypto_secretbox_open_easy_inplace
source · pub fn crypto_secretbox_open_easy_inplace(
ciphertext: &mut [u8],
nonce: &Nonce,
key: &Key
) -> Result<(), Error>
Expand description
Decrypts ciphertext
with nonce
and key
in-place, without allocating
additional memory for the message.