R3m/framework Function reference password.rehash.need

{password.rehash.need(String $hash, String $algorithm='PASSWORD_DEFAULT', Array $options=null)}

{password.rehash.need()} — Checks if the given hash matches the given options

This function checks to see if the supplied hash implements the algorithm and options provided.
If not, it is assumed that the hash needs to be rehashed.

Returns true if the hash should be rehashed to match the given algorithm and options, or false otherwise.

More information:


Last modified: 2021-06-07

© 2021 universeorange.com