Re: Re: PHP 5.1.0 - sha256() and sha256_file() support
| From: | Ilia Alshanetsky | Date: | Wed, 16 Nov 2005 01:38:08 +0000 |
| Subject: | Re: Re: PHP 5.1.0 - sha256() and sha256_file() support | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20045@lists.php.net to get a copy of this message | ||
Sara Golemon wrote:
> I've had implementations of sha256,384, and 512 lying about for months now
> (possibly over a year), but was told they didn't have a place in core since
> mhash provided the functionality (A statement I recall agreeing with at the
> time fwiw). What changed?
Didn't you hear md5/sha1 are cracked in seconds by evil governments and
corporations, put on your tin foil hat TODAY!
I think the issue is that mhash is a relatively rare extension due to a
dependency on a library that is rarely available. I think that perhaps
for 6.0 we need to look into a php extension that could provide some
commonly used hashes without any decencies.
Ilia