Function __global->random_bytes
Definitions
sources_custom/phpstub.php
- Generates cryptographically secure pseudo-random bytes.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$length | integer | required parameter | N/A | N/A | The length of the random string that should be returned in bytes |
Return
- A string containing the requested number of cryptographically secure random bytes
- Type: string
- Set: N/A
- Range: N/A