note 70474 added to function.sha1

From: Date: Wed, 18 Oct 2006 11:23:44 +0000
Subject: note 70474 added to function.sha1
Groups: php.notes 
Request: Send a blank email to php-notes+get-118682@lists.php.net to get a copy of this message
Note that the sha1 algorithm has been compromised and is no longer being used by government agencies. As of PHP 5.1.2 a new set of hashing functions are available. http://www.php.net/manual/en/function.hash.php The new function hash() supports a new range of hashing methods. echo hash('sha256', 'The quick brown fox jumped over the lazy dog.'); It is recommended that developers start to future proof their applications by using the stronger sha-2, hashing methods such as sha256, sha384, sha512 or better. As of PHP 5.1.2 hash_algos() returns an array of system specific or registered hashing algorithms methods that are available to PHP. print_r(hash_algos()); ---- Server IP: 85.116.0.130 Probable Submitter: 81.168.30.117 ---- Manual Page -- http://www.php.net/manual/en/function.sha1.php Edit -- https://master.php.net/note/edit/70474 Del: integrated -- https://master.php.net/note/delete/70474/integrated Del: useless -- https://master.php.net/note/delete/70474/useless Del: bad code -- https://master.php.net/note/delete/70474/bad+code Del: spam -- https://master.php.net/note/delete/70474/spam Del: non-english -- https://master.php.net/note/delete/70474/non-english Del: in docs -- https://master.php.net/note/delete/70474/in+docs Del: other reasons-- https://master.php.net/note/delete/70474 Reject -- https://master.php.net/note/reject/70474 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118682) next »