sodium_crypto_aead_chacha20poly1305_encrypt

(PHP 7 >= 7.2.0)

sodium_crypto_aead_chacha20poly1305_encryptEncrypt a message

˵��

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

Warning

��������δ��д�ĵ������в����б�

����

msg

ad

nonce

key

����ֵ