How to decode md5 string, any idea.

Discussion in 'PHP' started by mparkar26, Aug 4, 2012.

  1. #1
    Hello there,

    please let me know that is there any procedure to decode md5 string.

    Thank you
     
    mparkar26, Aug 4, 2012 IP
  2. Alejandro131

    Alejandro131 Greenhorn

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    3
    Trophy Points:
    21
    #2
    The md5 function and algorithm is a one-way encryption process.

    If you want to decode an md5 string (which I don't know where you got from or you're legally fit to use it) you would have to create a so called "rainbow-table" (http://en.wikipedia.org/wiki/Rainbow_table), which can take more than a person's lifetime to generate all possible inputs.
     
    Alejandro131, Aug 4, 2012 IP
  3. EllenSmith

    EllenSmith Active Member

    Messages:
    210
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    55
    #3
    search google for "md5decrypt"
     
    EllenSmith, Aug 5, 2012 IP
  4. PK-Host

    PK-Host Guest

    Messages:
    109
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #4
    MD5 Is one way it can not be decrypted it can only be bruteforced.
     
    PK-Host, Aug 5, 2012 IP
  5. writingwhiz

    writingwhiz Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    The other posters are correct - you cannot decrypt an md5.

    However, if you know what the correct value is and are trying to match it in a database, convert your string to md5 (using 'md5($string);') and then see if that md5 matches the correct one in your database.

    Now, as previously stated, if you don't know the correct value, and try this approach for all possible alphanumeric values (plus those with symbols), it would be called a "brute force" approach.
     
    writingwhiz, Aug 5, 2012 IP
  6. gurpinder

    gurpinder Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    there is no direct function to convert md5 but there are many website available which has library of md5 passwords.
    search on google for those website and check is your password (md5 encrypted string) is there or not.
     
    gurpinder, Aug 6, 2012 IP
  7. mike30

    mike30 Well-Known Member

    Messages:
    887
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #7
    There are some online databases with millions of md5 hashes with their respective value. Just search for 'md5 decrypt'.
    by the way. Here is a little tool to encrypt text to md5 http://wihee.com/text2md5

    ~Mike
     
    mike30, Aug 12, 2012 IP
  8. shubhamm

    shubhamm Member

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #8
    You can't Decode MD5

    what you can do to Check is check any online Database OR make md5 of text and check if its Same then you will know the Pass is same.
     
    shubhamm, Aug 12, 2012 IP
  9. ibnatu

    ibnatu Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    no way to unencrypt, unless you have a dictionary to cross check em :)
     
    ibnatu, Aug 14, 2012 IP
  10. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #10
    A number of rainbow tables are indexed by google -- sometimes you can just type the MD5'd code into google search, and one of the results gives you the value.

    Every two or three years someone using that as a legitimate attack avenue crops up in the news.
     
    deathshadow, Aug 14, 2012 IP