encryption question - mcrypt
| From: | Scott Fletcher | Date: | Tue, 08 Oct 2002 13:42:03 +0000 |
| Subject: | encryption question - mcrypt | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119252@lists.php.net to get a copy of this message | ||
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.