Decrypt MD5 hash [duplicate]

Possible Duplicate:
Is it possible to decrypt md5 hashes?

Is there any way to decrypt the encrypted MD5 string, given the key?

13.10.2009 18:24:38
encrypted with what? md5 is hashing, not encrypting.
SilentGhost 13.10.2009 18:25:59
MD5 hash is a one-way function.
Andrey Vlasovskikh 13.10.2009 18:46:01
While the premise of the question is flawed (A hash is "a one way trip" i.e. it is not a bijective function, and also it doesn't involve a key, only an input message) the responses go beyond stating that "this is not what a hash is for" and explore ways of finding messages that satisfy one particular hash value, and ways of protecting against dictionary/brute-force attacks with the use of salt. Interesting !
mjv 13.10.2009 18:59:49
Why downvote this question? Sure, he didn't understand what MD5 is in the first place, but the question is still valid.
ibz 15.12.2009 02:44:28
I agree @ibz. Plus, hashing is encrypting too. The hash value is cryptographic and the correct term for this "hashing" is actually "cryptographic hashing".
cregox 4.05.2010 22:12:16

Try Google (see Using Google To Crack MD5 Passwords) or an online DB of MD5 hashes like md5(); or GDATA (the last one contains 1,133,766,035 unique entries).

13.10.2009 19:21:14

MD5 is an asymmetric hash -- not an encryption mechanism. You can't "decrypt" an MD5. If you know the hashed contents are limited to a (short) set of possibilities, you can use a Rainbow Table to attempt to brute-force reverse the hash, but this will not work in the general case.

13.10.2009 18:26:51

MD5 is a one-way hash. It cannot be decrypted. The closest thing to decrypting an MD5 hash would be to do a lookup against a pre-generated rainbow table. Also, I'm not sure what you mean by "I have the key". There is no "key" in an MD5 hash. Perhaps you are thinking of a salt? If your data has a salt value incorporated prior to hashing, the rainbow table approach probably won't be practical anyway.

13.10.2009 19:24:39

MD5 is not a encryption algorithm, it is a hashing algorithm. Read up on MD5 and Crytographic Hash Functions.

To create a MD5 hash of a string in Python you do as follows:

import hashlib
m = hashlib.md5()
m.update("String to Hash")
echo m.digest()
# '\xed\xa5\x8bA-nU\xa2\xee\xbb[_s\x130\xbd'
echo m.hexdigest() # its more common to show hashes as a hex string
# 'eda58b412d6e55a2eebb5b5f731330bd'
21.01.2010 19:48:59

Message-Digest algorithm 5 is a widely-used cryptographic hash function with a 128-bit hash value. Encryption has 2 way : encrypt - decript , hash has one way - there is no decryption possible. BUT with database hash IS POSSIBLE to solve this issue.

See this sites : – 50,709,274 Hash in database – 6,353,625 Hash in database – 1,611,191 Hash in database 1,155,613 Hash in database – 872,145 Hash in database – 583,441 Hash in database – 41,568,541 Hash in database – 5,403 Hash in database

14.10.2009 17:35:17

I still think google is the best answer for this question but I made a script which can crack md5 and others hashes like sha

16.10.2012 11:14:07