Function __global->hash
Definitions
sources_custom/phpstub.php
- Generate a non-keyed hash value of the given data.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$algo | string | required parameter | N/A | N/A | The name of the hashing algorithm to use |
$data | string | required parameter | N/A | N/A | The data to be hashed |
$binary | boolean | False | N/A | N/A | Whether to output raw binary data (false: output lowercase hex) |
$options | array | [] | N/A | N/A | Additional algorithm-specific options |
Return
- The hash value
- Type: string
- Set: N/A
- Range: N/A