[ Index ]

PHP Cross Reference of WordPress




/wp-includes/random_compat/ -> random_bytes_dev_urandom.php (summary)

Random_* Compatibility Library for using the new PHP 7 random_* API in PHP 5 projects The MIT License (MIT)

File Size: 167 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function


Functions that are not part of a class:

random_bytes($bytes)   X-Ref
Unless open_basedir is enabled, use /dev/urandom for
random numbers in accordance with best practices

Why we use /dev/urandom and not /dev/random
return: string
param: int $bytes

Generated: Thu Jul 9 01:00:03 2020 Cross-referenced by PHPXref 0.7.1