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