decrypt
Return
the decrypted plaintext if the mac is valid.
Parameters
key
32 bytes decryption key
nonce
12 bytes nonce
ciphertext
ciphertext
aad
additional authentication data. can be empty
mac
authentication mac
the decrypted plaintext if the mac is valid.
32 bytes decryption key
12 bytes nonce
ciphertext
additional authentication data. can be empty
authentication mac