note 74403 added to function.hash
| From: | justme at osu1 dot php dot net | Date: | Tue, 10 Apr 2007 10:02:05 +0000 |
| Subject: | note 74403 added to function.hash | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125256@lists.php.net to get a copy of this message | ||
The speed difference (as noted in a below posting) between md5() and hash() goes down to zero with
strings longer than just a few bytes. With a string length of 1kB the difference is 10% advantage
for hash() and shrinks further down to 3% with 10kB strings.
----
Server IP: 69.147.83.197
Probable Submitter: 82.240.156.91
----
Manual Page -- http://www.php.net/manual/en/function.hash.php
Edit -- https://master.php.net/note/edit/74403
Del: integrated -- https://master.php.net/note/delete/74403/integrated
Del: useless -- https://master.php.net/note/delete/74403/useless
Del: bad code -- https://master.php.net/note/delete/74403/bad+code
Del: spam -- https://master.php.net/note/delete/74403/spam
Del: non-english -- https://master.php.net/note/delete/74403/non-english
Del: in docs -- https://master.php.net/note/delete/74403/in+docs
Del: other reasons-- https://master.php.net/note/delete/74403
Reject -- https://master.php.net/note/reject/74403
Search -- https://master.php.net/manage/user-notes.php