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