Doc #63250 [Opn]: Alternative to mhash_keygen_s2k()?
| From: | alix dot axel+php at gmail dot com | Date: | Tue, 09 Oct 2012 18:18:09 +0000 |
| Subject: | Doc #63250 [Opn]: Alternative to mhash_keygen_s2k()? | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8953@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63250&edit=1
ID: 63250
User updated by: alix dot axel+php at gmail dot com
Reported by: alix dot axel+php at gmail dot com
Summary: Alternative to mhash_keygen_s2k()?
Status: Open
Type: Documentation Problem
Package: hash related
Operating System: Ubuntu 12 / Windows 7
PHP Version: 5.3.17
Block user comment: N
Private report: N
New Comment:
Changed package from mhash to hash.
Previous Comments:
------------------------------------------------------------------------
[2012-10-09 18:08:48] alix dot axel+php at gmail dot com
Description:
------------
The mcrypt_encrypt manual page (http://php.net/manual/en/function.mcrypt-
encrypt.php) says that:
It is recommended to use the mhash functions to create a key from a string.
But the introduction of the mhash manual
(http://php.net/manual/en/intro.mhash.php) says that:
Note: This extension is obsoleted by Hash.
Here (http://php.net/manual/en/migration53.removed-extensions.php) it also
stated that:
mhash - Discontinued; use the hash extension instead. hash has full mhash
compatibility; all existing applications using the old functions will continue
to work.
-----------------------
The problem is that there's no hash alternative for
http://www.php.net/manual/en/function.mhash-keygen-s2k.php.
I'm filling this as a documentation bug, but I'm not exactly sure if it should
be filled in some other category (perhaps feature request?) because at the
moment we have no other way to do what mhash_keygen_s2k() used to do.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63250&edit=1