Jump to content
  • 0

Salting MD5 passwords


Davros

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  04/22/12
  • Last Seen:  

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 by Davros
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...