Function password_get_info
Get information about the password hash. Returns an array of the information that was used to generate the password hash.
array( 'algo' => 1, 'algoName' => 'bcrypt', 'options' => array( 'cost' => PASSWORD_BCRYPT_DEFAULT_COST, ), )
Parameters summary
string |
$hash |
The password hash to extract info from |
Return value summary
array
|
The array of information about the hash. |