PHP - Manual: sodium_crypto_aead_aegis128l_encrypt
2025-02-27
(PHP 8 >= 8.4.0)
sodium_crypto_aead_aegis128l_encrypt — Encrypt then authenticate a message with AEGIS-128L
$message
,$additional_data
,$nonce
,$key
Encrypt then authenticate a message with AEGIS-128L.
message
additional_data
nonce
key
Returns the ciphertext and authentication tag as a string of raw binary bytes.
官方地址:https://www.php.net/manual/en/function.sodium-crypto-aead-aegis128l-encrypt.php