MediaWiki REL1_34
|
Static Public Member Functions | |
static | generateHex ( $chars) |
Generate a run of cryptographically random data and return it in hexadecimal string format. | |
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(), User\getToken(), AuthManagerSpecialPage\handleReauthBeforeExecute(), UIDGenerator\newUUIDv4(), User\resetTokenFromOption(), BotPassword\save(), and User\setToken().