Re: [PHP] attempt to use an empty IV with mcrypt

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 06:13, [EMAIL PROTECTED] wrote: > I get the following warning when I turn on logging... > > > Warning: attempt to use an empty IV, which is NOT recommend in > /home/local/apache/htdocs/encrypt.php on line 21 > > > Here is the code and which line is Nr. 21? > $key = "te

[PHP] attempt to use an empty IV with mcrypt

2001-02-04 Thread twm139
I get the following warning when I turn on logging... Warning: attempt to use an empty IV, which is NOT recommend in /home/local/apache/htdocs/encrypt.php on line 21 Here is the code $key = "testing"; $input = "Secret data"; $encrypted_data = mcrypt_ecb (MCRYPT_DES, $key, $input, MCRYPT_ENC