|
Posted by Mike on 10/13/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
Navigation:
[Reply to this message]
|