WordPress at Your Fingertips
function is not described

sodium_crypto_stream_xchacha20_xor() WP 1.0

No Hooks.

Return

String.

Usage

sodium_crypto_stream_xchacha20_xor( $message, $nonce, $key );
$message(string) (required)
-
$nonce(string) (required)
-
$key(string) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor()

Code of sodium_crypto_stream_xchacha20_xor() WP 5.8.2

function sodium_crypto_stream_xchacha20_xor($message, $nonce, $key)
{
    return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor($message, $nonce, $key, true);
}