Hi!

    I read the PHP manual about the encryption, mcrypt_module_open().  I
have been trying to figure out an example of the parameters inside the
functions.  I tried some of these options but I still get the error message
saying "Warning:  mcrypt module initialization failed in ....". Here's some
example I tried.

    //Test #1
    $td = mcrypt_module_open (MCRYPT_DES, '', MCRYPT_MODE_ECB, '');

    As for Test #2, I have no such 'mcrypt-modes' directory anywhere on the
server.

   //Test #2
   $td = mcrypt_module_open (MCRYPT_DES, '', MCRYPT_MODE_ECB,
'/usr/lib/mcrypt-modes');


    Is this a bug????

Thanks,
 Scott F.



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

Reply via email to