Function __global->hash_equals
Definitions
sources_custom/phpstub.php
- Timing attack safe string comparison.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$known_string | string | required parameter | N/A | N/A | The string of known length to compare against |
$user_string | string | required parameter | N/A | N/A | The user-supplied string |
Return
- If the strings are equal
- Type: boolean
- Set: N/A
- Range: N/A