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