Reply to mcrypt_generic_init(): Iv size incorrect

Your name:

Reply:


Posted by Mike Hummel on 04/08/05 20:35

I have an odd php issue with mcrypt.
I'm getting a lot of this type of error, but only sometimes:

mcrypt_generic_init(): Iv size incorrect; supplied length: 0, needed: 32

(note, the "supplied length: 0" is not always the same. sometimes it is
1, 16, etc).

It doesn't seem to affect the decoding of the file, but it is throwing a
notice in to my error log. I've tried doing this:

@mcrypt_generic_init($this->td, $key, $iv)

but that doesn't stop it from throwing an error.

The only thing I can think is that I have mcrypt_module_close($this->td)
commented out because my code was dying with it...

System:
Linux w/ Apache 1.3.31
PHP Version 4.3.4
libmcrypt version 2.5.7


Suggestions?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация