|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Submitted: 2005-06-07 23:40 UTC Modified: 2021-04-28 13:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: ceo at l-i-e dot com Assigned: cmb (profile)
Status: Wont fix Package: *Encryption and hash functions
PHP Version: 5.1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 - 44 = ?
Subscribe to this entry?

 [2005-06-07 23:40 UTC] ceo at l-i-e dot com
It would be Really Nifty if there were constants for the output lengths of the
various CRYPT algorithms.


Cuz I can never remember how long the various crypt thingies go, and I always need to build the table to hold them, so I spend an hour digging around for the number I need.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-18 23:10 UTC]
-Package: Feature/Change Request +Package: *Encryption and hash functions -Operating System: All +Operating System: * -PHP Version: PHP 5.1 +PHP Version: 5.1
 [2021-04-28 13:00 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-04-28 13:00 UTC]
Given that there has been no further feedback indicating more
interest in this for many years, and that it's trivial to get
these values, e.g.

    echo strlen(md5(""))

I'm closing this as WONTFIX.  If anybody feels strongly that this
would be a valuable feature addition, please pursue the RFC

[1] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri May 14 14:01:23 2021 UTC