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
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
Hi All,
I have the following function:
function encrypt ($x) {
$ini = parse_ini_file ($GLOBALS['INI_PATH']);
$td = mcrypt_module_open ('tripledes', '', 'ecb', '');
$iv = mcrypt_create_iv (mcrypt_enc_get_iv_size
3 matches
Mail list logo