Bug #14606: mcrypt_ofb with tripledes : 2.2.7 and 2.4.18 different behavior
| From: | jeanfrancois dot lecam at altiplano dot fr | Date: | Wed, 19 Dec 2001 17:33:01 +0000 |
| Subject: | Bug #14606: mcrypt_ofb with tripledes : 2.2.7 and 2.4.18 different behavior | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74439@lists.php.net to get a copy of this message | ||
From: jeanfrancois.lecam@altiplano.fr
Operating system: redhat 7.2
PHP version: 4.1.0
PHP Bug Type: mcrypt related
Bug description: mcrypt_ofb with tripledes : 2.2.7 and 2.4.18 different behavior
Using exactly the same input data, the following lines won't return the
same decryption result :
php-4.0.6 / libmcrypt-2.2.7 :
mcrypt_ofb("MCRYPT_TripleDES",$realkey,$ct,MCRYPT_DECRYPT,$iv);
php-4.1.0 / libmcrypt-2.4.18 :
mcrypt_ofb(MCRYPT_TripleDES, $realkey, $ct, MCRYPT_DECRYPT, $iv);
I have data encrypted with libmcrypt-2.2.7 that I want to use with
libmcrypt-2.4.18, but I can not !!!
Thanks in adance,
JF
--
Edit bug report at: http://bugs.php.net/?id=14606&edit=1