php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26204 md5 challenge
Submitted: 2003-11-11 10:24 UTC Modified: 2003-11-11 12:50 UTC
From: hagman at hotbrev dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hagman at hotbrev dot com
New email:
PHP Version: OS:

 

 [2003-11-11 10:24 UTC] hagman at hotbrev dot com
Description:
------------
An optional parameter for MD5(), for challenge, this makes it much harder to bruteforce MD5 hashes. Crypt only supports (random) one-way hashes?

Reproduce code:
---------------
The source on this has a javascript version.

http://www.zonline.jamtland.se/login

Expected result:
----------------
more secure hashes.

Actual result:
--------------
i dunno

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-11 12:50 UTC] jay@php.net
Is this keyed hashes we're talking about here? HMAC-type 
stuff? 
 
The mhash provides what you're looking for. There's also 
an example in the manual in the comments for the mhash 
function for doing keyed MD5 hashes without installing the 
mhash extension. 
 
btw, brute forcing MD5 isn't something that's particularly 
easy, keyed or otherwise.  
 
J 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 17 01:00:02 2025 UTC