Re: Re: cookie trouble
| From: | Mark Nenadov | Date: | Thu, 31 Oct 2002 17:02:19 +0000 |
| Subject: | Re: Re: cookie trouble | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22864@lists.php.net to get a copy of this message | ||
On October 31, 2002 02:48 pm, Seabird wrote:
> I got this fixed,
>
> but how do I reverse a md5 encryption????? this way I can log people in
> again.
>
> Jacco
You can't reverse md5. All you need to do is compare an md5'ed copy of what
the user entered to what you have in your database (or wherever you store the
encrypted copy). If they are the same, then they have entered the right
password.
--
Mark Nenadov,
Freelance Software Developer
web: http://www.freelance-developer.com
e-mail: mark@freelance-developer.com