ID: 35653 User updated by: link705 at hotmail dot com Reported By: link705 at hotmail dot com -Status: Assigned +Status: Closed Bug Type: mcrypt related Operating System: Win2000 PHP Version: 5CVS-2005-12-13 (snap) Assigned To: derick New Comment:
thanks. I get it by fill 'padding char' myself. Previous Comments: ------------------------------------------------------------------------ [2005-12-14 01:47:03] link705 at hotmail dot com hi,my friend, actually, 'paddingmode' cause this problem. I chang paddingmode in c# from PKCS7 to Zeros£¬then get the same result -------------------------------- xUL2ewBUn7mqNdrgbTzoZ+vkYhgNnLbQ -------------------------------- but this result is DO not my wanted(I have to get result:'xUL2ewBUn7mqNdrgbTzoZyfUjOMZw6r2' to fit third party's requirement). so, I must get result'xUL2ewBUn7mqNdrgbTzoZyfUjOMZw6r2' in php anyway until I give up to use php to connect third party. who can help me? recomplied source code? I have no idea now. ------------------------------------------------------------------------ [2005-12-13 11:27:34] link705 at hotmail dot com I try more,it looks irrespective of padding, but what happend??? ------------------------------------------------------------------------ [2005-12-13 09:09:30] link705 at hotmail dot com I get then same incorrect result in PHP version(5.1.2-dev), Actual result(incorrect): -------------- xUL2ewBUn7mqNdrgbTzoZ+vkYhgNnLbQ ^^^^^^^^^^^ difference ------------------------------------------------------------------------ [2005-12-13 07:45:57] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2005-12-13 04:49:30] link705 at hotmail dot com this problem also exists where OS is linux ad 2.1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35653 -- Edit this bug report at http://bugs.php.net/?id=35653&edit=1