[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,

Re: [PHP] Using mcrypt in PHP

2001-08-19 Thread Jason Brooke
); mcrypt_generic_init($td, your key string here, $iv); then just use mdecrypt_generic($td, $data) and mcrypt_generic($td, $data) where $data is your string to encrypt - Original Message - From: Dr. Evil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 11:03 AM Subject: [PHP] Using