Decrypt md5 encrypted string.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cfor
    New Member
    • May 2007
    • 1

    Decrypt md5 encrypted string.

    hi sir/mem,
    Please solve my problem "Decrypt md5 encrypted string.".
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    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.

    Originally posted by cfor
    hi sir/mem,
    Please solve my problem "Decrypt md5 encrypted string.".

    Comment

    • matthooper
      New Member
      • May 2007
      • 37

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

      Code:
      $string = "your-string";
      echo md5($string);
      Last edited by Markus; Nov 26 '08, 11:09 AM. Reason: fixed code tags

      Comment

      • didoamylee
        New Member
        • Nov 2008
        • 16

        #4
        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.

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #5
          May I ask why you want to do this?

          Comment

          Working...