go to bug id or search bugs for
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
mhash - Discontinued; use the hash extension instead. hash has full mhash
compatibility; all existing applications using the old functions will continue
The problem is that there's no hash alternative for
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.
Add a Patch
Add a Pull Request
Changed package from mhash to hash.
> It is recommended to use the mhash functions to create a key
> from a string.
This recommendation has been changed in the meantime (see example
#1). Furthermore the mcrypt extension has been deprecated and
moved to PECL, so this ticket can is obsolete.