NYCPHP Meetup

NYPHP.org

[nycphp-talk] mcrypt_decrypt- null bytes

Michael Southwell southwell at dneba.com
Sun Mar 7 10:49:19 EST 2004


At 08:37 AM 3/7/2004, you wrote:
>When using mcrypt_decrypt, it seems to add null bytes when decrypting. The 
>trim function gets rid of it but just wondering if the null bytes at the 
>end is normal behavior.

wild guess:  this has something to do with block mode:  see 
function.mcrypt-enc-is-block-algorithm-mode.html



Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1419
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================




More information about the talk mailing list