Function __global->co_calculate_reasonable_ratchet
Definitions
config_editor.php
- Calculate a strong ratchet based on the CPU speed for the maintenance password.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Returns
- The suggested ratchet to use (null: password_hash is not supported)
- Type: ?integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculate a strong ratchet based on the CPU speed for the maintenance password.
*
* @return ?integer The suggested ratchet to use (null: password_hash is not supported)
*/
function co_calculate_reasonable_ratchet() : ?int
* Calculate a strong ratchet based on the CPU speed for the maintenance password.
*
* @return ?integer The suggested ratchet to use (null: password_hash is not supported)
*/
function co_calculate_reasonable_ratchet() : ?int

