RE: [PHP] mcrypt warning

2003-07-10 Thread Dan Joseph
Hi, > I use this to set iv to null so I don't need to worry about it :) > > $iv = pack("a".mcrypt_enc_get_iv_size($td),$iv); Ahh ok, I'll give that a try and let you know how it comes out. Thanks! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] mcrypt warning

2003-07-10 Thread Tom Rogers
Hi, Thursday, July 10, 2003, 12:41:28 AM, you wrote: DJ> Hi All, DJ> I have the following function: DJ> function encrypt ($x) { DJ> $ini = parse_ini_file ($GLOBALS['INI_PATH']); DJ> $td = mcrypt_module_open ('tripledes', '', 'e