php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52226 need workaround for mhash_keygen_s2k
Submitted: 2010-07-01 20:13 UTC Modified: 2010-10-22 16:23 UTC
From: keith at archimedes dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.3.2 OS: RHEL5
Private report: No CVE-ID: None
 [2010-07-01 20:13 UTC] keith at archimedes dot com
Description:
------------
If mhash is depricated, and being omitted from distributions i.e. remi,  what is the replacement for mhash_keygen_s2k as used in Joomla helper.php ?




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-22 15:47 UTC] kalle@php.net
-Package: hash related +Package: Documentation problem
 [2010-10-22 16:21 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304624
Log: Adding reference to the removed support for s2k hashing from mhash (bug #52226)
 [2010-10-22 16:23 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-10-22 16:23 UTC] kalle@php.net
After the internal emulation layer for some of the mhash wrapper functions thats also supported by ext/hash was written, no such algorithm for s2k was implementing meaning that as of 5.3.0 this algorithm is no longer available.

I wrote a note about this in the 5.3 upgrade guide for future reference.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 23:00:01 2026 UTC