MediaWiki
1.34.0
|
Static Public Member Functions | |
static | generateHex ( $chars) |
Generate a run of cryptographically random data and return it in hexadecimal string format. More... | |
Definition at line 27 of file MWCryptRand.php.
|
static |
Generate a run of cryptographically random data and return it in hexadecimal string format.
int | $chars | The number of hex chars of random data to generate |
Definition at line 36 of file MWCryptRand.php.
References $chars.
Referenced by UIDGenerator\__construct(), SpecialPage\checkLoginSecurityLevel(), User\confirmationToken(), MWSaltedPassword\crypt(), Installer\doGenerateKeys(), PasswordFactory\generateRandomPasswordString(), MediaWiki\Session\SessionManager\generateSessionId(), WikiEditorHooks\getEditingStatsId(), Pingback\getOrCreatePingbackId(), MediaWiki\Session\Session\getSecretKeys(), MediaWiki\Session\Session\getToken(), User\getToken(), AuthManagerSpecialPage\handleReauthBeforeExecute(), UIDGenerator\newUUIDv4(), User\resetTokenFromOption(), BotPassword\save(), and User\setToken().