Str::random()
Generates a random string that may be used for cryptographic purposes
Parameters
Name | Type | Default | Description |
---|---|---|---|
$length | int |null |
null |
The length of the random string |
$type | string |
'alphaNum' |
Pool type (type of allowed characters) |
Return type
string
|false