You are here: Re: [PHP] reverse MD5 ??? « PHP « IT news, forums, messages
Re: [PHP] reverse MD5 ???

Posted by D. Wokan on 04/24/05 08:00

William Stokes wrote:

>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
>
>
MD5 values are hashes, not encryptions. There's nothing to "decrypt".
It's good for storing the results of some value and than when the person
sends the MD5 back at a later point you can make sure it still matches
the desired value by re-hashing the original value again.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация