Function password_needs_rehash
Determine if the password hash needs to be rehashed according to the options provided
If the answer is true, after validating the password using password_verify, rehash it.
Located at
Sources/Subs-Password.php
string |
$hash |
The hash to test |
integer |
$algo |
The algorithm used for new password hashes |
array |
$options = array() |
The options array passed to password_hash |
boolean
|
True if the password needs to be rehashed. |