|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68425 New hash functions for PHP 7
Submitted: 2014-11-14 18:49 UTC Modified: 2017-10-24 06:25 UTC
Avg. Score:4.8 ± 0.5
Reproduced:8 of 8 (100.0%)
Same Version:6 (75.0%)
Same OS:6 (75.0%)
From: scott at arciszewski dot me Assigned:
Status: Open Package: hash related
PHP Version: master-Git-2014-11-14 (Git) OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: scott at arciszewski dot me
New email:
PHP Version: OS:


 [2014-11-14 18:49 UTC] scott at arciszewski dot me
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


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-14 04:42 UTC]
-Assigned To: +Assigned To: pollita
 [2016-05-14 04:42 UTC]
FYI, the sha methods you listed are already in PHP 7.1
I'll take a look at the blake algos...
 [2017-10-24 06:25 UTC]
-Status: Assigned +Status: Open -Assigned To: pollita +Assigned To:
 [2021-01-08 14:47 UTC]
The following pull request has been associated:

Patch Name: BLAKE3 hash support
On GitHub:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 20:01:34 2024 UTC