Req #65891 [Com]: PHP is missing a sha3() function

From: Date: Tue, 15 Oct 2013 16:50:48 +0000
Subject: Req #65891 [Com]: PHP is missing a sha3() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182287@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65891&edit=1 ID: 65891 Comment by: scott dot baker at gmail dot com Reported by: scott dot baker at gmail dot com Summary: PHP is missing a sha3() function Status: Open Type: Feature/Change Request Package: hash related Operating System: Linux PHP Version: 5.5.5RC1 Block user comment: N Private report: N New Comment: Perhaps we could have support for both hash() and sha3() methods? I really like the sha3() method that strawbrary wrote. It's very logical and easy to remember. hash() requires me to remember the order of parameters, and the hash name. sha3() seems more direct. Previous Comments: ------------------------------------------------------------------------ [2013-10-14 06:04:09] pajoye@php.net I would rather add it to the hash extension, more consistent. ------------------------------------------------------------------------ [2013-10-13 22:00:27] scott dot baker at gmail dot com There has already been some work on this, it probably just needs to be merged in to core PHP? https://github.com/strawbrary/php-sha3 ------------------------------------------------------------------------ [2013-10-13 21:58:40] scott dot baker at gmail dot com Description: ------------ PHP has md5() and sha1() functions, but there is no sha3() function. Now that keccak has been officially declared the winner, PHP needs a sha3() function to match. Optionally support could be added to hash() for keccak, but I think a standalone sha3() would be preferable. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65891&edit=1

« previous php.bugs (#182287) next »