randombytes_uniform

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

WordPress Version: 2.1

/**
 * @see ParagonIE_Sodium_Compat::randombytes_uniform()
 * @param int $upperLimit
 * @return int
 * @throws \SodiumException
 * @throws \Error
 */
function randombytes_uniform($upperLimit)
{
    return ParagonIE_Sodium_Compat::randombytes_uniform($upperLimit);
}

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::randombytes_uniform()
 * @param int $upperLimit
 * @return int
 * @throws \Exception
 * @throws \Error
 */
function randombytes_uniform($upperLimit)
{
    return ParagonIE_Sodium_Compat::randombytes_uniform($upperLimit);
}