Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (Generator $generator=null) | |
generate ($length) | |
Attributs privés | |
$generator | |
RandomLibAdapter provides functionality to generate strings of random binary data using the paragonie/random-lib library
__construct | ( | Generator | $generator = null | ) |
Constructs a RandomLibAdapter
using a RandomLib\Generator
By default, if no Generator
is passed in, this creates a high-strength generator to use when generating random binary data.
Références RandomLibAdapter\$generator, et null.
generate | ( | $length | ) |
Generates a string of random binary data of the specified length
integer | $length | The number of bytes of random binary data to generate |
Implémente RandomGeneratorInterface.
|
private |
Référencé par RandomLibAdapter\__construct().