Re: Is there a way to undo the md5() encryption??
| From: | Scott Fletcher | Date: | Wed, 22 Jan 2003 22:24:06 +0000 |
| Subject: | Re: Is there a way to undo the md5() encryption?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132698@lists.php.net to get a copy of this message | ||
I had it figured out!! Don't need to decrypt it. Instead, I can encrypt
the account number by javascript. Grab the unencrypted account number. Put
it into two variable, encrypt the first one with PHP and match it by
Javascript. If accept then I use the 2nd variable to grab the data from the
data and put it into the sessions. This will take care of the problem with
my other project....
Cheers!!!!!
Thanks,
Scott F.
"Brad Pauly" <brad@robinsontech.com> wrote in message
news:1043271786.1236.34.camel@earth...
> > Hi! Is there a way to do the decryption of the encrypted data with the
use
> > of md5()??
>
> Nope. md5 is a one way function.
>
> http://www.faqs.org/faqs/cryptography-faq/part07/
>
> Brad
>