WordPress at Your Fingertips
function is not described

Sodium

crypto_aead_chacha20poly1305_ietf_encrypt() WP 1.0

No Hooks.

Return

String.

Usage

crypto_aead_chacha20poly1305_ietf_encrypt( $message, $assocData, $nonce, $key );
$message(string) (required)
-
$assocData(string) (required)
-
$nonce(string) (required)
-
$key(string) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt()

Code of crypto_aead_chacha20poly1305_ietf_encrypt() WP 5.8.2

function crypto_aead_chacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key)
{
    return ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key);
}