PHP - Manual: sodium_crypto_aead_aegis128l_encrypt
2025-10-25
(PHP 8 >= 8.4.0)
sodium_crypto_aead_aegis128l_encrypt — Encrypt then authenticate a message with AEGIS-128L
$message,$additional_data,$nonce,$keyEncrypt then authenticate a message with AEGIS-128L.
messageadditional_datanoncekeyReturns 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