sodium_crypto_stream_xchacha20

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

WordPress Version: .10

/**
 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20()
 * @param int $len
 * @param string $nonce
 * @param string $key
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_stream_xchacha20($len, $nonce, $key)
{
    return ParagonIE_Sodium_Compat::crypto_stream_xchacha20($len, $nonce, $key, true);
}