Subject: | Please implement a function like password_needs_rehash in PHP |
See: https://www.php.net/manual/en/function.password-needs-rehash
What it should to is check the version, memory_cost, time_cost, threads, salt length, and hash length of the encrypted string against the given hash of options/args that are normally meant for password_hash. If anything differs, then it must return 1, else 0.
Then I'll be able to use your module in mine:
https://metacpan.org/pod/PHP::Functions::Password
The salt length and hash length part is not yet clear to me otherwise I can also do it myself.