Function __global->get_ratchet_cost
Definitions
sources/crypt.php
- Given a bcrypt hash, get its cost.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$hash | SHORT_TEXT | required parameter | N/A | N/A | The bcrypt hash |
Return
- The cost (null: could not find / invalid bcrypt hash)
- Type: ?integer
- Set: N/A
- Range: N/A