note 44783 added to ref.mcrypt
| From: | wagner at cesnet dot cz | Date: | Mon, 16 Aug 2004 16:38:22 +0000 |
| Subject: | note 44783 added to ref.mcrypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79825@lists.php.net to get a copy of this message | ||
I have another comment to the script submitted by robert at peakepro dot com. He uses deprecated
function mcrypt_generic_end which also closes the module. Subsequent mcrypt_module_close then
complains about invalid resource. Moreover, not all combinations of algorith and mode are
compatible. It is necessary to check the return value from mcrypt_module_open in order to find
whether the module can be open for selected combination. My script also displays some useful
information. You can find the full source at my site http://icebearsoft.euweb.cz/php/
----
Manual Page -- http://www.php.net/manual/en/ref.mcrypt.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44783
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44783&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44783&report=yes
Search -- http://master.php.net/manage/user-notes.php