[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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: 93 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 : Wed Jul 5 08:20:02 2023 Cross-referenced by PHPXref