Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Security (https://www.askmehelpdesk.com/forumdisplay.php?f=476)
-   -   Md5 for passwords? (https://www.askmehelpdesk.com/showthread.php?t=571737)

  • Apr 20, 2011, 06:42 PM
    a12735497073
    Md5 for passwords?
    Why should I store MD5 passwords in the database instead of the real thing? How does the user log in??
  • Apr 20, 2011, 06:45 PM
    nohmar
    MD5 is nice because if someone gets a hold of your database, they don't have the actual password. The user logs in by typing the normal password and you can check if the md5 of what they typed in is the same as what's in the database.
  • Apr 20, 2011, 06:58 PM
    Skylude
    What Nohmar said is right. The other benefit is that MD5 is extremely difficult to reverse back to the original text.
  • Apr 20, 2011, 07:00 PM
    Skylude

    One more thing to note, if you need to at some point get the password back I would look into use SALT and sha1 or some other reversible encryption.
  • Apr 20, 2011, 07:04 PM
    a12735497073
    Thanks!

  • All times are GMT -7. The time now is 05:56 PM.