Possible Duplicate:
Is it possible to decrypt md5 hashes?
I do this in Ruby:
Digest::MD5.hexdigest("Jose")
and get “70483b6e100c9cebbffcdc62dea07eda”
But, how do I decrypt it back to “Jose”?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MD5 is a hashing algorithm, you can not easily decrypt the output back to the original (and this is exactly why we use hashing algorithms).
A common example is passwords. Instead of storing a password in your database, you generate a MD5 hash of the original password and store it. If one day someone steals your database it’s harder for them to figure out the real passwords, as they can not be directly decrypted.
But when you’re trying to login a user, he’s going to type the real password, you will then run the MD5 algorithm again and compare the hash with the one you have stored, if they’re the same then the user possibly typed the correct password.