PHP - Manual: sodium_crypto_aead_aegis256_decrypt
2025-02-27
(PHP 8 >= 8.4.0)
sodium_crypto_aead_aegis256_decrypt — Verify then decrypt a message with AEGIS-256
$ciphertext
,$additional_data
,$nonce
,$key
Verify then decrypt a message with AEGIS-256.
ciphertext
additional_data
nonce
key
Returns the plaintext on success, 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.sodium-crypto-aead-aegis256-decrypt.php