The string generated matches [A-Za-z0-9_-]+ and is transparent to URL-encoding.
public generateRandomString ( integer $length = 32 ) : string | ||
$length | integer | the length of the key in characters |
Результат | string | the generated random key |