Doc #63250 [NEW]: Alternative to mhash_keygen_s2k()?
| From: | alix dot axel+php at gmail dot com | Date: | Tue, 09 Oct 2012 18:08:49 +0000 |
| Subject: | Doc #63250 [NEW]: Alternative to mhash_keygen_s2k()? | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-8952@lists.php.net to get a copy of this message | ||
From: alix dot axel+php at gmail dot com
Operating system: Ubuntu 12 / Windows 7
PHP version: 5.3.17
Package: hash related
Bug Type: Documentation Problem
Bug description:Alternative to mhash_keygen_s2k()?
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 bug report at https://bugs.php.net/bug.php?id=63250&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63250&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63250&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63250&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63250&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63250&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63250&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63250&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63250&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63250&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63250&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63250&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63250&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63250&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63250&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63250&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63250&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63250&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63250&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63250&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63250&r=mysqlcfg