Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
generate ($length) | |
RandomGeneratorInterface provides functionality to generate strings of random binary data
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 |
UnsatisfiedDependencyException | if Moontoast\Math\BigNumber is not present |
InvalidArgumentException | |
Exception | if it was not possible to gather sufficient entropy |
Implémenté dans CombGenerator, RandomLibAdapter, OpenSslGenerator, SodiumRandomGenerator, MtRandGenerator, RandomBytesGenerator, et PeclUuidRandomGenerator.