(PHP 8 >= 8.4.0)
sodium_crypto_aead_aegis256_encrypt — Encrypt then authenticate a message with AEGIS-256
$message,$additional_data,$nonce,$keyEncrypt then authenticate a message with AEGIS-256.
messageadditional_datanoncekeyReturns the ciphertext and authentication tag as a string of raw binary bytes.