by andrewjshults · 15y ago · 0 comments
This is why my preferred hashing scheme is username + seed + password, so that even if user1 and user2 both use "password" as their password, they'll end up with different hashes. That way if the database is compromised you can't do frequency analysis against the hashes to make guessing common passwords easier.
the search results from google are all added code, but php supports it natively: http://ca.php.net/manual/en/function.crypt.php