WordPress at Your Fingertips
function is not described

sodium_crypto_stream_xchacha20() WP 1.0

No Hooks.

Return

String.

Usage

sodium_crypto_stream_xchacha20( $len, $nonce, $key );
$len(int) (required)
-
$nonce(string) (required)
-
$key(string) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::crypto_stream_xchacha20()

Code of sodium_crypto_stream_xchacha20() WP 5.8.2

function sodium_crypto_stream_xchacha20($len, $nonce, $key)
{
    return ParagonIE_Sodium_Compat::crypto_stream_xchacha20($len, $nonce, $key, true);
}