Hallo,
Ik krijg het niet voorelkaar om de 3way encryptie te gebruiken onder php. De installatie instructies die op www.php.net/mcrypt staan heb ik nagelopen.
// php.net:
These functions work using mcrypt. To use it, download libmcrypt-x.x.tar.gz from http://mcrypt.sourceforge.net/ and follow the included installation instructions. Windows users will find all the needed compiled mcrypt binaries at http://ftp.emini.dk/pub/php/win32/mcrypt/.
If you linked against libmcrypt 2.4.x or higher, the following additional block algorithms are supported: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT and the following stream ciphers: ENIGMA (crypt), PANAMA, RC4 and WAKE. With libmcrypt 2.4.x or higher another cipher mode is also available; nOFB.
//
Volgens phpinfo() staat mcrypt geinstalleerd.
De volgende encryptie methoden kan ik gebruiken: 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
Nu staat op php.net dat ik ook de 3way encryptie kan gebruiken. Deze vind ik dus nergens meer terug.
Als ik de volgende code gebruik om een string te encrypten:
<?php
$key = "sleutel";
$input = "lekker weer vandaag!";
$encrypted_data = mcrypt_ecb('MCRYPT_3WAY', $key, $input, MCRYPT_ENCRYPT);
?>
krijg ik deze melding:
mcrypt_ecb(): Module initialization failed in C:\Apache2\htdocs\crypt.php on line 5
Ik maak gebruik van php onder apache op een windows xp machine. Hoe krijg ik de mogelijkheid om de 3way encryptie te gebruiken? Het is GEEN optie om een van de bovengenoemde encrypties te gebruiken.
Ik krijg het niet voorelkaar om de 3way encryptie te gebruiken onder php. De installatie instructies die op www.php.net/mcrypt staan heb ik nagelopen.
// php.net:
These functions work using mcrypt. To use it, download libmcrypt-x.x.tar.gz from http://mcrypt.sourceforge.net/ and follow the included installation instructions. Windows users will find all the needed compiled mcrypt binaries at http://ftp.emini.dk/pub/php/win32/mcrypt/.
If you linked against libmcrypt 2.4.x or higher, the following additional block algorithms are supported: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT and the following stream ciphers: ENIGMA (crypt), PANAMA, RC4 and WAKE. With libmcrypt 2.4.x or higher another cipher mode is also available; nOFB.
//
Volgens phpinfo() staat mcrypt geinstalleerd.
De volgende encryptie methoden kan ik gebruiken: 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
Nu staat op php.net dat ik ook de 3way encryptie kan gebruiken. Deze vind ik dus nergens meer terug.
Als ik de volgende code gebruik om een string te encrypten:
<?php
$key = "sleutel";
$input = "lekker weer vandaag!";
$encrypted_data = mcrypt_ecb('MCRYPT_3WAY', $key, $input, MCRYPT_ENCRYPT);
?>
krijg ik deze melding:
mcrypt_ecb(): Module initialization failed in C:\Apache2\htdocs\crypt.php on line 5
Ik maak gebruik van php onder apache op een windows xp machine. Hoe krijg ik de mogelijkheid om de 3way encryptie te gebruiken? Het is GEEN optie om een van de bovengenoemde encrypties te gebruiken.
[ Voor 6% gewijzigd door Verwijderd op 07-06-2004 18:52 ]