Click here to Skip to main content
16,020,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir or madam!
How can I decrypt data from database that use MD5 in Netbeans 8.0.2, Please to help me !
Posted
Comments
Jim Meadors 12-Sep-15 1:54am    
It would be helpful for you to include a code sample to show what part of it you are having trouble with.

1 solution

You can't.
MD5 is not an encryption algorithm - it is a hashing algorithm.
The major difference is that an encryption algorithm like DES can be reversed to regenerate the original input if you have the correct key, while a hashing algorithm like MD5 or SHA cannot: it throws away information to generate the hashed value. That is why it is used for password storage: because you don't need to reverse it in order to verify a password input.

And although MD5 is officially "broken" and should not be used for new projects, that just means that you can in some cases generate an enterable sequence from the hashed value - not the original input but ones that will generate the same hash.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900