sodium_crypto_aead_chacha20poly1305_ietf_decrypt

(PHP 7 >= 7.2.0)

sodium_crypto_aead_chacha20poly1305_ietf_decryptVerify that the ciphertext includes a valid tag

˵��

sodium_crypto_aead_chacha20poly1305_ietf_decrypt ( string $ciphertext , string $ad , string $nonce , string $key ) : string

Warning

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

����

ciphertext

ad

nonce

key

����ֵ