Re: bug? php4 with libmcrypt-2.2.7

From: Date: Tue, 15 Aug 2000 18:35:53 +0000
Subject: Re: bug? php4 with libmcrypt-2.2.7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11846@lists.php.net to get a copy of this message
I'm running libmcrypt 2.2.1-1 on Redhat 6.2, Apache 1.3.12, and PHP 4.0.1PL2 and everything is working fine so far. Jason On Tue, 15 Aug 2000, you wrote: > i have been battling libmcrypt for the past 2 days and came with zilch so > far... i am about to raise the white flag and submit it to the bug list > unless someone here could convince me otherwise... > > there is very little support/documentation on how php talks to libmcrypt. > after going through the source code, i noticed that the functions listed > on the web page http://www.php.net/manual/ref.mcrypt.php are > not all > implemented... the following are the only functions supported: > PHP_FE(mcrypt_ecb, NULL) > PHP_FE(mcrypt_cbc, NULL) > PHP_FE(mcrypt_cfb, NULL) > PHP_FE(mcrypt_ofb, NULL) > PHP_FE(mcrypt_get_cipher_name, NULL) > PHP_FE(mcrypt_get_block_size, NULL) > PHP_FE(mcrypt_get_key_size, NULL) > PHP_FE(mcrypt_create_iv, NULL) > > even then, mcrypt_ecb, cbc, cfb, ofb are not working correctly. instead > of returning srings, they return binary garbage. this is a huge problem > because the decrypt function takes a string as input. because of this, i > cannot go through the encrypt/decrypt process and get back the original > message that i wanted encrypted. > > if anyone has had experience with libmcrypt with the same configuration as > mine, please lemme know. otherwise i'll be submitting this to the bug > report sometime soon... > > thanx in advance for any help/suggestion/comment! :) > > > ---------------- > remco chang > bountyquest.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11846) next »