pub fn crypto_box_open_easy_afternm(
message: &mut [u8],
ciphertext: &[u8],
nonce: &Nonce,
key: &Key,
) -> Result<(), Error>Expand description
Decrypts a box using a key computed by crypto_box_beforenm.
Compatible with libsodium’s crypto_box_open_easy_afternm.
§Errors
Returns an error if ciphertext is shorter than an authentication tag,
message has the wrong length, or authentication fails.