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 ciphertext.
ยงErrors
Returns an error if data is shorter than an authentication tag.