sodium_crypto_stream_xchacha20_xor_ic

The timeline below displays how wordpress function sodium_crypto_stream_xchacha20_xor_ic has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic()
 * @param string $message
 * @param string $nonce
 * @param int $counter
 * @param string $key
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_stream_xchacha20_xor_ic($message, $nonce, $counter, $key)
{
    return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic($message, $nonce, $counter, $key, true);
}