(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_aead_aes256gcm_decrypt — Verify then decrypt a message with AES-256-GCM
$ciphertext,$additional_data,$nonce,$key
Verify then decrypt with AES-256-GCM.
Only available if sodium_crypto_aead_aes256gcm_is_available() returns true.
ciphertextadditional_datanoncekey
Returns the plaintext on success, or false on failure.