Doc #63460 [NEW]: $mode instead of $module in mcrypt-get-key-size
| From: | ken dot tanzer at gmail dot com | Date: | Thu, 08 Nov 2012 00:02:54 +0000 |
| Subject: | Doc #63460 [NEW]: $mode instead of $module in mcrypt-get-key-size | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9071@lists.php.net to get a copy of this message | ||
From: ken dot tanzer at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:$mode instead of $module in mcrypt-get-key-size
Description:
------------
---
From manual page: http://www.php.net/function.mcrypt-get-key-size
---
The doc description lists:
int mcrypt_get_key_size ( string $cipher , string $module )
But I think module should really be mode. As suggested by the
explanation:
"mcrypt_get_key_size() is used to get the size of a key of the specified
cipher (in combination with an encryption mode)."
^^^^
And also by the example:
echo mcrypt_get_key_size('tripledes', 'ecb');
Thanks!
--
Edit bug report at https://bugs.php.net/bug.php?id=63460&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63460&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63460&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63460&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63460&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63460&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63460&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63460&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63460&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63460&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63460&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63460&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63460&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63460&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63460&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63460&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63460&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63460&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63460&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63460&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63460&r=mysqlcfg