Re: reverse MD5 ???
| From: | Satyam | Date: | Thu, 21 Apr 2005 16:09:18 +0000 |
| Subject: | Re: reverse MD5 ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213587@lists.php.net to get a copy of this message | ||
If I tell you that dividing a certain number by three gives you a remainder
of 2, would you be able to guess the first number? Same thing with MD5, it
is just one way, it can't be reversed.
Satyam
"William Stokes" <kalles@operamail.com> wrote in message
news:20050421132727.40363.qmail@lists.php.net...
> Hello,
>
> I have a system that uses certain id info. This info is stored in a
> session cookie in MD5 format. At certain parts of the code I need to
> update or insert to MySQL DB with that id info value in cleartext. Is this
> possible?
>
> If so, how to put this to a sql query?
>
> $sqlquery = "insert into x_table (team_id,number,) values
> ('$team_id','$number')
>
> $team_id is the MD5 formatted cookie value and I need to put it to the
> x_table column team_id in cleartext.
>
> Thanks a lot
> -Will