Davros Posted July 15, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 04/22/12 Last Seen: August 29, 2015 Share Posted July 15, 2013 In order to keep my server more secure, I want to salt the MD5 passwords, but I don't know how.So, my question is:How can I add a salt, like user's email to the md5 password? Quote Link to comment Share on other sites More sharing options...
Jaburak Posted July 15, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: 11 hours ago Share Posted July 15, 2013 Not sure but try it in here; trunk/conf/login_athena.conf // Store passwords as MD5 hashes instead of plaintext ? // NOTE: Will not work with clients that use <passwordencrypt> use_MD5_passwords: no Quote Link to comment Share on other sites More sharing options...
Patskie Posted July 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: November 10, 2024 Share Posted July 16, 2013 Some tools : http://md5.gromweb.com/?md5=6c84cbd30cf9350a990bad2bcc1bec5f trunk/conf/login_athena.conf // Store passwords as MD5 hashes instead of plaintext ? // NOTE: Will not work with clients that use <passwordencrypt> use_MD5_passwords: yes Query : UPDATE `login` SET `user_pass` = MD5(`user_pass`); Set MD5 to true on your application.php and server.php on your flux panel so that people can connect to the control panel after setting md5 on your database. Quote Link to comment Share on other sites More sharing options...
Davros Posted July 16, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 04/22/12 Last Seen: August 29, 2015 Author Share Posted July 16, 2013 (edited) I alreay knew that, but I want to do like this md5 * email = (md5 return...) Because the normal md5 is kindly unsafe, because if someone get access to my DB the person could easily decrypt all the passwords there stored... Edited July 16, 2013 by Davros Quote Link to comment Share on other sites More sharing options...
Question
Davros
In order to keep my server more secure, I want to salt the MD5 passwords, but I don't know how.
So, my question is:
How can I add a salt, like user's email to the md5 password?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.