You don’t. md5 is one way encryption

-----Original Message-----
From: Jason G. [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 30, 2002 2:06 PM
To: Nicolas Costes; Jose; [EMAIL PROTECTED]
Subject: Re: [PHP] How can I decrypt a password I previously coded with
md5()?

Hi Nicolas,

I would be interested in seeing the javascript md5 function if possible.

Thanks,

Jason Garber
IonZoft.com



At 11:18 AM 1/30/2002 +0100, Nicolas Costes wrote:

>As already said here, you cannot reverse the md5() function ...
>So :
>
>         -The user fills a login box (login, password)
>         -The PHP script 'crypts' this password with md5();
>         -The already-encrypted password in the database (or the passwd

> file) is
>         compared with the one provided by the user (and encrypted by
PHP) 
> : if they
>         aren't the same ... Bye !!!
>
>And for more security, I use a JavaScript MD5 function to encrypt the
>provided password in the user's browser so it goes already encrypted on
the
>net ... Then PHP's just got to compare it with the one in the database
!!!
>
>
>Le Mercredi 30 Janvier 2002 10:51, Jose a écrit :
> > I'm making a proyect in php, and I have some doubts about the md5.
> > I encript a password with it, but I don't know how to decrypt it
again.
> >
> > Thanks.
> >
> >
> >
------------------------------------------------------------------------
---
> >- ------------------
> > Jose Fco. ( [EMAIL PROTECTED] ).
> > OLINET, S.L. Teléfono: 952207135 - Fax: 952207600
> > Avda. Juan Sebastián Elcano, 39-41. 29017 Málaga.
> >
------------------------------------------------------------------------
---
> >- ------------------
>
>--
>  ( °> Nicolas Costes
>  //\\  IUT de La Roche / Yon
>/ \/ ) [EMAIL PROTECTED]
>`-<<  http://luxregina.free.fr
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail:
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to