Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
I've a String. Now i've converted to MD5 hash checksum value.
Now i want to decode the same string from the hash value.
Please tell me how to do thi.
Note : I'm using Crypto++ library.
Thank you all.
Posted
Comments
TRK3 30-Jun-11 10:19am    
Why do you think you want to do this? The whole purpose of an MD5 hash is that it's supposed to be irreversible.

Either you are using MD5 for something you shouldn't be using it for, or you are trying to hack a password file...

You can't convert a hash to the original string.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 1-Jul-11 23:44pm    
I cannot stop wondering how people use hash functions and encryption not understanding the point of it. My 5.
--SA
Sergey Alexandrovich Kryukov 1-Jul-11 23:48pm    
I added a warning about MD5 vulnerability and recommeded SHA-2 family.
--SA
Warning: If you use MD5 for any security purposes, stop doing it — it is unsafe. This algorithm is considered broken. Better use one of the hash functions from the SHA family.

See:
http://en.wikipedia.org/wiki/MD5#Security[^],
http://en.wikipedia.org/wiki/SHA-2[^].

—SA
 
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