(PHP 7 >= 7.2.0)
sodium_crypto_aead_chacha20poly1305_encrypt — Encrypt a message
$msg
   , string $ad
   , string $nonce
   , string $key
   ) : string
Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.
msg
ad
nonce
key