3 ms·
This is why I love the (modern) php approach. It's in the standard library and you don't need to supply an algorithm name or salt or anything. It is also design
by im3w1l 12y ago
This is why I love the (modern) php approach. It's in the standard library and you don't need to supply an algorithm name or salt or anything.
It is also designed so that a future version of php can have upgraded algorithms without breaking current code. It is trivially easy to write code that upgrades old hashes when the user logins in.
http://php.net/manual/en/function.password-needs-rehash.php http://php.net/manual/en/function.password-needs-rehash.php