randombytes_buf

The timeline below displays how wordpress function randombytes_buf 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_buf()
 * @param int $amount
 * @return string
 * @throws \TypeError
 */
function randombytes_buf($amount)
{
    return ParagonIE_Sodium_Compat::randombytes_buf($amount);
}