MediaWiki master
MWCryptRand Class Reference

Static Public Member Functions

static generateHex ( $chars)
 Generate a run of cryptographically random data and return it in hexadecimal string format.
 

Detailed Description

Definition at line 27 of file MWCryptRand.php.

Member Function Documentation

◆ generateHex()

static MWCryptRand::generateHex ( $chars)
static

Generate a run of cryptographically random data and return it in hexadecimal string format.

Parameters
int$charsThe number of hex chars of random data to generate
Returns
string Hexadecimal random data

Definition at line 36 of file MWCryptRand.php.


The documentation for this class was generated from the following file: