Function __global->password_hash
Definitions
sources_custom/phpstub.php
- Hash the password using the specified algorithm.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$password | string | required parameter | N/A | N/A | The password to hash |
$algo | integer | required parameter | N/A | N/A | The algorithm to use (Defined by PASSWORD_* constants) |
$options | array | required parameter | N/A | N/A | The options for the algorithm to use |
Return
- The hashed password (false: error)
- Type: ~string
- Set: N/A
- Range: N/A