Hi, Thursday, January 22, 2004, 2:16:22 AM, you wrote:
scb> Hi Tom, Vincent, list, scb> Tom, your response caused some confusion here. I have mcrypt running on win32 scb> (Win98, Apache 1.3.29 & 2.0.48, PHP 4.3.4 & PHP 5beta3) and am in fact using scb> mcrypt_generic_deinit() succesfully to encrypt/decrypt... This in accordance to the scb> most recent PHP documentation, which exactly opposes your statement: scb> mcrypt_generic_end scb> (PHP 4 >= 4.0.2) scb> mcrypt_generic_end -- This function terminates encryption scb> Description scb> bool mcrypt_generic_end ( resource td) scb> Warning scb> This function is deprecated, use mcrypt_generic_deinit() instead. scb> It can cause crashes when used with mcrypt_module_close() due scb> to multiple buffer frees. scb> So maybe something else is causing Vincent's problem to decrypt. Without further scb> code snippets it is very hard to pin it down... scb> Regards, scb> speedfreak Yes you are right, it was the php_mycrypt.dll that I downloaded from where the php manual I have states (http://ftp.proventum.net/pub/php/win32/misc/mcrypt/) had that function missing though it is in the mcrypt.dll itself. I compiled my own version of php_mcrypt.dll and the function is there now. I better get a newer version of the manual. Sorry about the confusion. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php