Req #68425 [PATCH]: New hash functions for PHP 7

From: Date: Fri, 08 Jan 2021 14:47:09 +0000
Subject: Req #68425 [PATCH]: New hash functions for PHP 7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231450@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68425&edit=1 ID: 68425 Patch added by: cmb@php.net Reported by: scott at arciszewski dot me Summary: New hash functions for PHP 7 Status: Open Type: Feature/Change Request Package: hash related Operating System: Any PHP Version: master-Git-2014-11-14 (Git) Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: BLAKE3 hash support On GitHub: https://github.com/php/php-src/pull/6358 Patch: https://github.com/php/php-src/pull/6358.patch Previous Comments: ------------------------------------------------------------------------ [2020-04-19 14:33:24] cmb@php.net Related To: Bug #78067 ------------------------------------------------------------------------ [2016-05-14 04:42:45] pollita@php.net FYI, the sha methods you listed are already in PHP 7.1 I'll take a look at the blake algos... ------------------------------------------------------------------------ [2014-11-14 18:49:44] scott at arciszewski dot me Description: ------------ For PHP 7.0.0, I would like to see the following hash functions available for hash() and hash_hmac(): * SHA-512/224 * SHA-512/256 * BLAKE-224 * BLAKE-256 * BLAKE-384 * BLAKE-512 * BLAKE2b * BLAKE2s * SHA3-224 * SHA3-256 * SHA3-384 * SHA3-512 Test script: --------------- echo hash('sha3,256', ''); // a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68425&edit=1

« previous php.bugs (#231450) next »