Please tell me the best way to hash password in CMS..
I've seen Crackstation's hashing : https://crackstation.net/hashing-security.htm
And phpass : http://www.openwall.com/phpass/
Please tell me which one is the best or tell me if there is another good hash method for password..

Recommended Answers

All 2 Replies

Both will be good and this new password_hash function from PHP.

The Crackstation gives you an explanation of do and don't. You should read the whole page and make your decision from there. In other words, you should not write your own crypto if you are not an expert in the field already. Besides, always use salt with the password when possible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.