The crypto_box_afternm() function encrypts and authenticates a message 'msg' using a secret key 'key' and a nonce 'nonce'. The crypto_box_afternm() function returns the resulting ciphertext 'c'.
resulting cyphertext
message
nonce
secret
success flag and cyphertext in 'c'
See Implementation
The crypto_box_afternm() function encrypts and authenticates a message 'msg' using a secret key 'key' and a nonce 'nonce'. The crypto_box_afternm() function returns the resulting ciphertext 'c'.