Function
password_needs_rehash
Synopsis
password_needs_rehash(string, mixed ...): bool
- Area
Runtime\PS\Crypto\password_needs_rehashareas
Description
password_needs_rehash reports whether $hash records a different algorithm or different work factors than $algo and $options name. A login that already holds the plaintext uses it to re-store the hash.
Usage
$value = password_needs_rehash($arguments);
$fn = password_needs_rehash(...);