sodium_crypto_aead_aes256gcm_encrypt

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Encrypt then authenticate with AES-256-GCM
sodium_crypto_aead_aes256gcm_encrypt(¬†¬†¬†¬†string $message,¬†¬†¬†¬†string $additional_data,¬†¬†¬†¬†string $nonce,¬†¬†¬†¬†string $key): string