[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Encrypt/ -> Randval.php (summary)

Joomla! Content Management System

Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 37 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Randval:: (1 method):
  generate()


Class: Randval  - X-Ref

Generates cryptographically-secure random values.

generate($bytes = 32)   X-Ref
Returns a cryptographically secure random value.

This method allows us to quickly address any future issues if we ever find problems with PHP's random_bytes() on
some weird host (you can't be too careful when releasing mass-distributed software).

param: integer  $bytes  How many bytes to return
return: string



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