Decrypting MD5

Discussion in 'PHP' started by madmax728, Apr 25, 2008.

  1. #1
    Any ideas on how to get original string from a MD5?
     
    madmax728, Apr 25, 2008 IP
  2. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The whole point of MD5 is that this is effectively impossible. Hypothetically you could maintain a database of the many millions/billions/trillions of possible strings and their hashed counterparts, but this would be prohibitively server resource intensive. If you're trying to decrypt MD5 hashed string from someone else, it is quite likely they will have added a secret salt that would make even having the massive database not work as intended.
     
    norfstar, Apr 25, 2008 IP
  3. madmax728

    madmax728 Banned

    Messages:
    620
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No its my own md5 and salt. I get your point.
     
    madmax728, Apr 25, 2008 IP
  4. Dreads

    Dreads Well-Known Member

    Messages:
    1,884
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    150
    #4
    sorry to break it to you.. but really there is no way to decrypt it unless you have like milions of $$ to spare..
     
    Dreads, Apr 25, 2008 IP
  5. !Redghost!

    !Redghost! Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    use this code

    
    <?php
    function hash_password($s,$t = 2) {
      for ($i = 0; $i < $t; $i++)
        $s = md5($s);
      return $s;
    }
    
    /*
    hash_password($password,2) = md5(md5($password))
    hash_password($password,3) = md5(md5(md5($password)))
    etc ...
    */
    
    ?>
    PHP:
     
    !Redghost!, Apr 25, 2008 IP
  6. madmax728

    madmax728 Banned

    Messages:
    620
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I know how to md5
     
    madmax728, Apr 25, 2008 IP
  7. Pammer

    Pammer Notable Member

    Messages:
    3,417
    Likes Received:
    397
    Best Answers:
    0
    Trophy Points:
    260
    #7
    when i did google there was two tools i checked it and test it also but duhh none of was working properly...
     
    Pammer, Oct 29, 2008 IP
  8. keyaa

    keyaa Peon

    Messages:
    137
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you've got an unsalted md5 hash of a relatively short string (e.g. password), usually you can crack it by using rainbow tables. http://www.milw0rm.com/cracker/insert.php

    Also:
    ..dumbest thing I've seen in a few weeks.
     
    keyaa, Oct 29, 2008 IP