pub fn crypto_aead_xchacha20poly1305_ietf_encrypt_detached_inplace(
data: &mut [u8],
mac: &mut Mac,
associated_data: Option<&[u8]>,
nonce: &Nonce,
key: &Key,
) -> Result<(), Error>Expand description
In-place detached variant of
crypto_aead_xchacha20poly1305_ietf_encrypt_detached.
ยงErrors
Returns an error if data exceeds the maximum supported message length.