Re: [PHP] two way encryption

2002-07-14 Thread Jason Wong
On Monday 15 July 2002 10:27, Justin French wrote: > I'm getting the following error using 4.1.1: > "Fatal error: Call to undefined function: mcrypt_create_iv() in > /usr/local/apache/htdocs/tests/enc.php on line 3" Did you actually install the mcrypt libs? > Which is confusing, given that the

Re: [PHP] two way encryption

2002-07-14 Thread Justin French
base64 doesn't have a key, so anyone could decode the string, which is obviously not desirable :) thanks anyway Justin on 15/07/02 2:00 PM, James Cox ([EMAIL PROTECTED]) wrote: > sorry to step in, but did you consider base64_[encode|decode] ? > > -- james > >> >> Justin French wrote: >>> W

RE: [PHP] two way encryption

2002-07-14 Thread James Cox
sorry to step in, but did you consider base64_[encode|decode] ? -- james > > Justin French wrote: > > Well, that was on my local test server, which I didn't compile with > > mcrypt... so that solves that, but it appears my ISP didn't > compile with it > > either... so there's very little poin

Re: [PHP] two way encryption

2002-07-14 Thread Joe Conway
Justin French wrote: > Well, that was on my local test server, which I didn't compile with > mcrypt... so that solves that, but it appears my ISP didn't compile with it > either... so there's very little point in getting my local server working > with it. > > What alternatives do I have? I don't

Re: [PHP] two way encryption

2002-07-14 Thread Justin French
on 15/07/02 12:41 PM, Joe Conway ([EMAIL PROTECTED]) wrote: > Looks like your ISP doesn't have mcrypt support. What does phpinfo() show? Well, that was on my local test server, which I didn't compile with mcrypt... so that solves that, but it appears my ISP didn't compile with it either... so th

Re: [PHP] two way encryption

2002-07-14 Thread Joe Conway
Justin French wrote: > I'm getting the following error using 4.1.1: > "Fatal error: Call to undefined function: mcrypt_create_iv() in > /usr/local/apache/htdocs/tests/enc.php on line 3" > > Which is confusing, given that the manual says mcrypt_create_iv() is > available in PHP 4. Looks like your

Re: [PHP] Two Way Encryption

2001-03-13 Thread Chris Adams
On 13 Mar 2001 03:40:30 -0800, Joe Njeru <[EMAIL PROTECTED]> wrote: >I'm looking for a two way encryption function that I can use to encrypt a >cookie value. I have had experience with MD5 but its one way. Is there one I >can use with a key in php? Check out the mcrypt extension for conventional

Re: [PHP] Two Way Encryption

2001-03-13 Thread Mukul Sabharwal
Hey, http://www.devhome.net/php/tutorials/230101.html that's RC4 implementation in PHP. you don't need mcrypt. --- Joe Njeru <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm looking for a two way encryption function that I > can use to encrypt a > cookie value. I have had experience with MD5 but i