Can we please discuss some methods to encrypt password before storing it to database.
For example sha1, md5 and more ways... and if they are one way encryptable or they can be decrypted too?
Encrypting passwords with mySQL/PHP
Moderator: General Moderators
May be one way, but stillfeyd wrote:Hashing is one-way only. That's exactly what you want. We've discussed it many times before. Have you read previous threads on hashing and md5/sha1/sha256/etc...?
sha1: http://www.schneier.com/blog/archives/2 ... roken.html
md5: http://www.schneier.com/blog/archives/2 ... ollis.html
But chances are the fact that there are these errors you'll be fine also try this
Code: Select all
base64_encode(sha1($thepassword))- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm