I have a value that I encrypt using md5(). Is there a way to convert that md5 string into the original value?

    md5() is a one way hash algorithm if I am not mistaken... so I don't think it can be done.

      The only way to do that is to create a Brute Force App.....You crypt everyword using MD5() and compared it with the already crypted password. After some centuries.....You could get the answer :p

      Greetings,

      Blag :evilgrin:

        Originally posted by TheDefender
        md5() is a one way hash algorithm if I am not mistaken... so I don't think it can be done.

        correct you are, and md5() in php and mySQL are a bit different... so you cant do something like this...

        $result = mysql_fetch_array(mysql_query('SELECT md5("Blah") AS pword'));
        if ($result['pass'] == md5('Blah') { echo "They are the same!"; }
        else { echo "They are not the same!"; }
        

        and expect to get "They are the same!"

          Write a Reply...