Hallo,
Ik heb het volgende probleem met mcrypt
<?php
$key = "this is a secret key";
$input = "Let us meet at 9 o'clock at the secret place.";
$encrypted_data = mcrypt_ecb (MCRYPT_3DES, $key, $input, MCRYPT_ENCRYPT);
?>
Ik krijg de volgende foutmelding
Call to undefined function mcrypt_ecb.
Als ik met phpinfo kijk dan ziek ik dat mcrypt wel actiev is zie onder. De libmcrypt.dll heb ik naar de windows\system32 directory gecopieerd en in php.ini heb ik de extension=php_mcrypt.dll actief gemaakt. Wat doe ik fout ?
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Johan
760 views