Re: [PHP] Upgrading from libmcrypt 2.2.x to 2.4.x

2002-05-02 Thread Cédric Veilleux
Hi, Thanks for the hint. Just a small note to let you know that my code to decrypt a string will return a string with filled with null characters at the end. You should trim() it. Also, anybody knows how to detect if the PHP build is linked with 2.2 or 2.4? I would li

Re: [PHP] Upgrading from libmcrypt 2.2.x to 2.4.x

2002-05-02 Thread Tom Rogers
Hi Thanks for that info, was just what I needed :) You can also create $iv with this: $iv = pack("a".mcrypt_enc_get_iv_size($td),$iv); I use base64_encode() and base64_decode() to store the result and send via the web. Tom At 01:02 PM 3/05/2002, Cédric Veilleux wrote: >Hi, > > I had a