[nycphp-talk] mcrypt_decrypt- null bytes
Jeff Siegel
jsiegel1 at optonline.net
Sun Mar 7 11:53:42 EST 2004
Additionally, I'm base64_encoding the string and then serializing it
before storing it in a database.
Jeff
---------
Michael Southwell wrote:
> 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
> ======================================================
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
More information about the talk
mailing list