sodium_randombytes_uniform

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

WordPress Version: 5.2

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