[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/ -> Random.php (summary)

Random Number Generator PHP version 5

Author: Jim Wigginton <[email protected]>
Copyright: 2007 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
File Size: 223 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  string()
  safe_serialize()

Functions
Functions that are not part of a class:

string($length)   X-Ref
Generate a random string.

Although microoptimizations are generally discouraged as they impair readability this function is ripe with
microoptimizations because this function has the potential of being called a huge number of times.
eg. for RSA key generation.

param: int $length
return: string

safe_serialize(&$arr)   X-Ref
Safely serialize variables

If a class has a private __sleep() it'll emit a warning
param: mixed $arr
return: mixed



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer