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?

//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------------------------------------------
--   We must come to see that the end we seek, is a society --
-- at peace with itself.  A society that can live with its  --
-- concience.  That will be a day not of the white man, not --
-- of the black man... That will be the day of man, as man! --
--                          -Dr. Martin Luther King Jr.     --
--                                 -March 25th, 1965        --
--------------------------------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to