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