(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_aead_aes256gcm_decrypt — Verifica y luego descifra un mensaje con AES-256-GCM
$ciphertext,$additional_data,$nonce,$key
Verifica y luego descifra con AES-256-GCM.
Disponible únicamente si sodium_crypto_aead_aes256gcm_is_available() devuelve true.
ciphertextadditional_datanoncekey
Devuelve el texto en claro en caso de éxito, o false si ocurre un error.