Syntax Syntax
Parameters Parameters
- $message
-
(Required)
- $assocData
-
(Required)
- $nonce
-
(Required)
- $key
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/lib/php72compat.php
function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key) { return ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key, true); }