Re: [PHP] Using mcrypt in PHP

2001-08-19 Thread Jason Brooke
ECTED]> Sent: Monday, August 20, 2001 11:03 AM Subject: [PHP] Using mcrypt in PHP > > There seems to be no reliable information in the manual about how to > do this. I'm trying to use mcrypt 2.4 with php4.06, which should be a > compatible combination. > > So far, I h

[PHP] Using mcrypt in PHP

2001-08-19 Thread Dr. Evil
There seems to be no reliable information in the manual about how to do this. I'm trying to use mcrypt 2.4 with php4.06, which should be a compatible combination. So far, I have gotten it to work like this: $cypher = MCRYPT_RIJNDAEL_128; $encrypted = mcrypt_encrypt($cypher, $key, $plaintext, M