|
Posted by sylvian stone on 11/16/87 11:29
Hi,
I'm getting some strange errors that I cannot pin down:
Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7,
needed: 8 in......
This is strange because the data is encrypted, inserted into the
databse, then later retrieved and decrypted with the necessary hash and
ivector keys.
The data itself is decrypted OK. But the error comes up.
The error does not occur when I run the same code on another machine
running on Mac OS X.
Is this a known bug on this FreeBSD build ?
As this is for a production site, I'm just tempted to set the
error_reporting directive in php.ini to off, as this looks bad when the
error flashes up, but is actually not causing any errors.
I did change alter the initialisation function to:
@mcrypt_generic_init()
but it still displays the error regardless.
This may be a bit obscure, but has anybody else encountered a similar
problem ?
Thanks
SS.
Navigation:
[Reply to this message]
|