mcrypt don't work.

From: Date: Sun, 08 Feb 2004 10:18:40 +0000
Subject: mcrypt don't work.
Groups: php.general 
Request: Send a blank email to php-general+get-177131@lists.php.net to get a copy of this message
Hi all, I have problem with mcrypt function. There is always an error that I don't know how to correct this. This is my code: $string = "Text string"; $key= "My key"; $encrypted = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $string, MCRYPT_ENCRYPT); echo"stringa cifrata= $encrypted"; $key = "My key"; $string = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $encrypted, MCRYPT_DECRYPT); echo"stringa decifrata= $string"; And the errore message is Warning: mcrypt_cfb(): Module initialization failed in /web/htdocs/www.automationsoft.biz/home/critto.php on line 55 stringa cifrata= Warning: mcrypt_cfb(): Module initialization failed in /web/htdocs/www.automationsoft.biz/home/critto.php on line 58 stringa decifrata= I see, with phpinfo(), that my server support mcrypt and RIJNDAEL-256. I don't know why there is this error message. All helps are precious. Thanks in advance Francesco francesco@automationsoft.biz (P.S. this is the link for a view in real time of the problem www.automationsoft.biz/critto.php)

« previous php.general (#177131) next »