Sodium Functions
PHP Manual

sodium_crypto_aead_chacha20poly1305_encrypt

(PHP 7 >= 7.2.0)

sodium_crypto_aead_chacha20poly1305_encryptEncrypt a message

Description

string sodium_crypto_aead_chacha20poly1305_encrypt ( string $msg , string $ad , string $nonce , string $key )

Warning

This function is currently not documented; only its argument list is available.

Parameters

msg

ad

nonce

key

Return Values


Sodium Functions
PHP Manual