lib/plugin/webauth/vendor/phpseclib/phpseclib/phpseclib/CryptRandom.php

Random Number Generator

PHP version 5

Here's a short example of how to use this library: <?php include 'vendor/autoload.php';

echo bin2hex(\phpseclib\Crypt\Random::string(8)); ?>

Classes

Random Pure-PHP Random Number Generator

Functions

phpseclib_safe_serialize()

phpseclib_safe_serialize(mixed  $arr) 

Safely serialize variables

If a class has a private __sleep() method it'll give a fatal error on PHP 5.2 and earlier. PHP 5.3 will emit a warning.

Parameters

mixed $arr