note 118861 added to function.mcrypt-module-open
| From: | Anonymous | Date: | Thu, 18 Feb 2016 10:34:49 +0000 |
| Subject: | note 118861 added to function.mcrypt-module-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204976@lists.php.net to get a copy of this message | ||
Follow up to anonymous with Windows' mcrypt_module_open() errors:
<?php
$M = mcrypt_list_modes();
$A = mcrypt_list_algorithms();
foreach ($M as $m)
foreach ($A as $a) {
$t = @mcrypt_module_open($a,'',$m,'');
print "$m, $a = ";
print ($t)?"ok":"nope";
print "<br>";
}
?>
This will show that not all modes work with all algorithmns. Cygwin also has no
'libmcrypt.dll' and it too will work with only some combinations.
(First tries just happened to be one of the ones that did not work!)
----
Server IP: 72.52.91.14
Probable Submitter: 107.3.124.120
----
Manual Page -- http://php.net/manual/en/function.mcrypt-module-open.php
Edit -- https://master.php.net/note/edit/118861
Del: integrated -- https://master.php.net/note/delete/118861/integrated
Del: useless -- https://master.php.net/note/delete/118861/useless
Del: bad code -- https://master.php.net/note/delete/118861/bad+code
Del: spam -- https://master.php.net/note/delete/118861/spam
Del: non-english -- https://master.php.net/note/delete/118861/non-english
Del: in docs -- https://master.php.net/note/delete/118861/in+docs
Del: other reasons-- https://master.php.net/note/delete/118861
Reject -- https://master.php.net/note/reject/118861
Search -- https://master.php.net/manage/user-notes.php