Reply to mcrypt_enc_get_iv_size Problems

Your name:

Reply:


Posted by Mike on 10/07/21 11:31

This is driving me nuts.
I have a call to:
private $td;
private $cypher = 'blowfish';
private $mode = 'cfb';
private $key = 'choose a better key';

$this->td = mcrypt_module_open ($this->cypher, '', $this->mode, '');
$ivsize = mcrypt_enc_get_iv_size ($td);
Echoing $td gives me a resourse id ,but I get an error:
Warning: mcrypt_enc_get_iv_size(): supplied argument is not a valid
MCrypt resource in xxxxxxxxxxxxx line 91

Everything else seems to work.
PHP 5 on linux


Help.
Thanks
Mike

[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

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