[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

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

File Size: 92 lines (3 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
If the libsodium PHP extension is loaded, we'll use it above any other
solution.

libsodium-php project:
param: int $bytes
return: string



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7