pub fn crypto_box_detached_afternm(
ciphertext: &mut [u8],
mac: &mut Mac,
message: &[u8],
nonce: &Nonce,
key: &Key,
) -> Result<(), Error>Expand description
Precalculation variant of crypto_box_detached.
Compatible with libsodium’s crypto_box_detached_afternm.
§Errors
Returns an error if message is too long or ciphertext is shorter than
message.