Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Mukul Sabharwal
http://www.paphe.com/php/tutorials/230101.php an encryption class = * Know more about me: http://www.geocities.com/mimodit * __ Do You Yahoo!? NEW from Yahoo! GeoCities - quick an

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Andrey Hristov
ooops , sorry On Friday 05 October 2001 18:48, you wrote: > > On Friday 05 October 2001 18:10, you wrote: > > > Use crypt()/decrypt() couple. > > > > > > Andrey Hristov > > From the PHP doumentation on crypt: > > There is no decrypt function, since crypt() uses a one-way algorithm." so > that woul

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Joel Ricker
> On Friday 05 October 2001 18:10, you wrote: > > Use crypt()/decrypt() couple. > > > > Andrey Hristov >From the PHP doumentation on crypt: There is no decrypt function, since crypt() uses a one-way algorithm." so that wouldn't have worked. Joel -- PHP General Mailing List (http://www.

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Joel Ricker
From: "Nathan" <[EMAIL PROTECTED]> > Here are some simple xor encoding functions that I wrote. This will keep > the average joe from peaking at your data. Exactly what I was looking for. Thanks Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Andrey Hristov
On Friday 05 October 2001 18:10, you wrote: > Use crypt()/decrypt() couple. > > Andrey Hristov > IcyGEN Corporation > BUILDING SOLUTIONS > http://www.icygen.com > > On Friday 05 October 2001 17:53, you wrote: > > Here are some simple xor encoding functions that I wrote. This will keep > > the aver

RE: [PHP] crypt and decrypt a string

2001-10-05 Thread Nathan
Here are some simple xor encoding functions that I wrote. This will keep the average joe from peaking at your data. function decode($data){ $data = base64_decode($data); /* XOR data */ for($i = 0; $i < strlen($data); $i++){ $data[$i] = ~ $data[$i];