php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63460 $mode instead of $module in mcrypt-get-key-size
Submitted: 2012-11-08 00:02 UTC Modified: 2012-11-08 02:16 UTC
From: ken dot tanzer at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-11-08 00:02 UTC] ken dot tanzer at gmail dot com
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!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-08 02:16 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=328278
Log: Perform a bit of a cleanup of mcrypt parameter descriptions and naming,
including adding some language snippets for commonly reused parameters.

Fixes doc bug #63460 ($mode instead of $module in mcrypt-get-key-size).
 [2012-11-08 02:16 UTC] aharvey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2012-11-08 02:16 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC