Re: bug? php4 with libmcrypt-2.2.7

From: Date: Tue, 15 Aug 2000 19:35:17 +0000
Subject: Re: bug? php4 with libmcrypt-2.2.7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11865@lists.php.net to get a copy of this message
On Tue, 15 Aug 2000, Remco Chang wrote: > thank you so very much for replying back to my message. i really > appreciate the time/effort. > > i'm not ready to move onto 4.0.2 until the people at PHP have confirmed > that it is a stable release... which, i guess, means that libmcrypt-2.4.* > is out of the equation. > > if you guys have not had any problem with it, could i ask you to do a > simple test? please run the following script and lemme know what is the > output that you get? > > <?php > { > $cipher = MCRYPT_3DES; > $key = "magic_key"; > $input = "blahblah"; > > echo (mcrypt_get_cipher_name ($cipher)."<br>"); > echo (mcrypt_get_block_size($cipher)."<br>"); > > $en_data = mcrypt_ecb ($cipher, $key, $input, MCRYPT_ENCRYPT); > echo "en_data:$en_data<br>"; > > $de_date = mcrypt_ecb ($cipher, $key, $en_data, MCRYPT_DECRYPT); ^ > echo "de_data:$de_data<br>"; ^ This is usually called a "typo." - Sascha

« previous php.general (#11865) next »