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. Jeff Siegel