class Random

Secure random string generator.

Traits

Static class.

Methods

static string
generate(int $length = 10, string $charlist = '0-9a-z')

Generate random string.

Details

at line 25
static string generate(int $length = 10, string $charlist = '0-9a-z')

Generate random string.

Parameters

int $length
string $charlist

Return Value

string