By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

Decrypt md5 encrypted string.

P: 1
hi sir/mem,
Please solve my problem "Decrypt md5 encrypted string.".
May 9 '07 #1
Share this Question
Share on Google+
4 Replies

Expert 2.5K+
P: 3,235
Your terminology is wrong; MD5 is an Hashing algorithm, not an Encryption algorithm, and as such there is no way to reliably get the original string.

This is the prime reason why MD5 is used for passwords; in the case that an attacker penetrates your security, the passwords are still unusable (without rainbow tables or heavy processing power).

If what you are looking to do is authenticate against an MD5ed password, all you need to do is MD5 your test string and compare it to the known MD5ed password.

hi sir/mem,
Please solve my problem "Decrypt md5 encrypted string.".
May 9 '07 #2

P: 37
if you already know what the string is that is stored in md5 format, use:

Expand|Select|Wrap|Line Numbers
  1. $string = "your-string";
  2. echo md5($string);
May 10 '07 #3

P: 16
But if you actually want to decrypt the md5 hash, you must know that md5 is a one way hash function, thus it can not be "decrypted".
But your md5 hash might be found on a huge database of md5 decrypted strings.
An example of a website like that is: Md5 decrypter tool .
Hope it helps you.
Nov 26 '08 #4

Expert 5K+
P: 6,050
May I ask why you want to do this?
Nov 26 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.