Re: mcrypt? - Can't find any good info

From: Date: Thu, 07 Mar 2002 20:51:42 +0000
Subject: Re: mcrypt? - Can't find any good info
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87682@lists.php.net to get a copy of this message
Nick Richardson wrote:
I'm getting this error: Warning: mcrypt module initialization failed in /home/www/common.php on line 314 When running this code: <?php function encryptPassword($password) { $key = randomString(); $code = mcrypt_ecb(MCRYPT_BLOWFISH_128, $key, $password, MCRYPT_ENCRYPT); print("$code = enc w/ $key"); } encryptPassword("testing"); ?> And i can't find any documentation on what might be causing this... anyone out there know?
Is mcrypt installed in your PHP system? echo phpinfo(); and look for mcrypt Michael Kimsal http://www.phphelpdesk.com Taking the ? out of <?php 734-480-9961

« previous php.general (#87682) next »