Textpattern
PHP Cross Reference
Content Management Systems
Statistics
-
Index
Variables
-
Functions
-
Classes
-
Constants
Summary:
/textpattern/vendors/Textpattern/Password/
Random.php - 102
lines
- 3202
bytes
-
Source
-
Print
Description:
Generates random bytes.
Included or required:
0 times
Referenced:
0 times
Includes or requires:
0 files
Defines 1 class
Random::
(2 methods):
getCharacterTable
()
generate
()
Class:
Random
getCharacterTable
()
line: 45
{@inheritdoc}
generate
(
$length
)
line: 58
Generates random bytes as a string of given length.
<code>
echo Txp::get('\Textpattern\Password\Random')->generate(196);
</code>
return: string The value
param: int $length The length of the generated value
title
Body