Re: Re: PHP 5.1.0 - sha256() and sha256_file() support

From: Date: Wed, 16 Nov 2005 02:15:35 +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-20048@lists.php.net to get a copy of this message
Sara Golemon wrote:
with MD5 and SHA1 more or less broken
Overstatement much? 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?
One consideration, if one wanted to deploy PHP in a FIPS compliant manner, is that reimplementations of these algorithms is not acceptable. One clean solution if linked against OpenSSL is to dispatch sha256/384/512 to those certified algorithms. But in any case, all three certainly make sense. Adding sha256 alone sure seems like a false start.

« previous php.internals (#20048) next »