|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35191 SHA-256 support
Submitted: 2005-11-11 10:46 UTC Modified: 2005-11-11 12:18 UTC
From: lauris at nix dot lv Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 6CVS-2005-11-11 (CVS) OS:
Private report: No CVE-ID: None
 [2005-11-11 10:46 UTC] lauris at nix dot lv
It would be realy usefull to include sha256 hashing function because md5 and sha1 aren't so secure nowdays. And there are a lot of sha256 implementations that can be used! So there is nothing new to invent :)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-11 12:18 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

SHA1 is unsecure? I never have read anything like that. The news were only saying that some guys think that in theory it maybe possible to guess the keys in a reasonable time with a huge processing power if you new something about the hashed stuff. More or less the same goes for MD5 only it is shorter, so the computation power needed is less and knowing something about the hashed stff is worth much more than with SHA1.

Still having SHA256 would be good. Look for mhash. And look for extension mhash and MHASH_SHA256.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 09:01:27 2023 UTC