Req #33267 [Opn->Wfx]: DES_CRYPTED_LENGTH

From: Date: Wed, 28 Apr 2021 13:00:09 +0000
Subject: Req #33267 [Opn->Wfx]: DES_CRYPTED_LENGTH
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233607@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=33267&edit=1 ID: 33267 Updated by: cmb@php.net Reported by: ceo at l-i-e dot com Summary: DES_CRYPTED_LENGTH -Status: Open +Status: Wont fix Type: Feature/Change Request Package: *Encryption and hash functions Operating System: * PHP Version: 5.1 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: 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 process[1]. [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2005-06-07 23:40:48] ceo at l-i-e dot com Description: ------------ It would be Really Nifty if there were constants for the output lengths of the various CRYPT algorithms. EG: MD5_CRYPTED_LENGTH 32 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=33267&edit=1

« previous php.bugs (#233607) next »