Using arcfour cipher with mcrypt extension
Posted: Tue Jun 10, 2008 2:26 am
Hi,
I need to encrypt data using the RC4 encryption. I already installed mcrypt (windows) and it works for ciphers such as MCRYPT_RC2 and MCRYPT_RIJNDAEL_128.
Running phpinfo() gives me the following:
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
That's probably why I can't use ARCFOUR. But it does say in the manual that arcfour is included in libmcrypt > 2.4.x.
http://de.php.net/manual/en/mcrypt.ciphers.php
I'm running Version 2.5.7 and Api No 20021217.
I also saw that there is a arcfour.h and arcfour.c file in the algorithms folder. So why aren't they recognized?
Thanks for any help. I really need to make this encryption work.
I need to encrypt data using the RC4 encryption. I already installed mcrypt (windows) and it works for ciphers such as MCRYPT_RC2 and MCRYPT_RIJNDAEL_128.
Running phpinfo() gives me the following:
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
That's probably why I can't use ARCFOUR. But it does say in the manual that arcfour is included in libmcrypt > 2.4.x.
http://de.php.net/manual/en/mcrypt.ciphers.php
I'm running Version 2.5.7 and Api No 20021217.
I also saw that there is a arcfour.h and arcfour.c file in the algorithms folder. So why aren't they recognized?
Thanks for any help. I really need to make this encryption work.