[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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: 190 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  random_bytes()

Functions
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
param: int $bytes
return: string



Generated : Wed Jul 5 08:20:02 2023 Cross-referenced by PHPXref