GoLang sodium_crypto_aead_chacha20poly1305_decrypt

request it (355)
GoLang replacement for PHP's sodium_crypto_aead_chacha20poly1305_decrypt [edit | history]



Do you know a GoLang replacement for PHP's sodium_crypto_aead_chacha20poly1305_decrypt? Write it!

PHP sodium_crypto_aead_chacha20poly1305_decrypt

PHP original manual for sodium_crypto_aead_chacha20poly1305_decrypt [ show | php.net ]

sodium_crypto_aead_chacha20poly1305_decrypt

(PHP 7 >= 7.2.0)

sodium_crypto_aead_chacha20poly1305_decryptVerify that the ciphertext includes a valid tag

Description

string sodium_crypto_aead_chacha20poly1305_decrypt ( string $ciphertext , string $ad , string $nonce , string $key )

Warning

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

Parameters

ciphertext

ad

nonce

key

Return Values