PHP 5.1.0 - sha256() and sha256_file() support

From: Date: Tue, 15 Nov 2005 22:11:43 +0000
Subject: PHP 5.1.0 - sha256() and sha256_file() support
Groups: php.internals 
Request: Send a blank email to internals+get-20034@lists.php.net to get a copy of this message
Hello, with MD5 and SHA1 more or less broken, I have hacked together sha256() and sha256_file(), because people want a secure hashing function in plain PHP without the need for 3rd party libraries like mhash. Both functions are already available to users of the PHP Hardening-Patch for quite a while. Actually it is too late in the release process to add it, although it just adds new files and only adds a few things in some tables. It is more or less impossible to break something but you never know. If we for some reasons need another 5.1.0 RC, we can maybe add the patch. (It doesn't need more than a few compile tests ;) Patch: http://www.suspekt.org/php-5.1.0-sha256.patch (So ilia... It is maybe up to your judgement only if I should do a last minute feature commit ;) Stefan -- -------------------------------------------------------------------------- Stefan Esser sesser@php.net Hardened-PHP Project http://www.hardened-php.net/ GPG-Key gpg --keyserver pgp.mit.edu --recv-key 0x15ABDA78 Key fingerprint 7806 58C8 CFA8 CE4A 1C2C 57DD 4AE1 795E 15AB DA78 --------------------------------------------------------------------------

« previous php.internals (#20034) next »