note 105572 added to function.strcmp

From: Date: Mon, 29 Aug 2011 11:34:37 +0000
Subject: note 105572 added to function.strcmp
Groups: php.notes 
Request: Send a blank email to php-notes+get-182796@lists.php.net to get a copy of this message
Just a short comment to wsogmm at seznam dot cz's comment. I would not be afraid of such a collision. I use strcmp mostly to compare user-inputted strings, 99% of which are either dictionary words or very close to. If I find a popular algorithm's hash collision on such words, I'll be famous and rich :) Maybe not md5 but sha1 ;) ---- Server IP: 69.147.83.197 Probable Submitter: 178.73.8.10 ---- Manual Page -- http://www.php.net/manual/en/function.strcmp.php Edit -- https://master.php.net/note/edit/105572 Del: integrated -- https://master.php.net/note/delete/105572/integrated Del: useless -- https://master.php.net/note/delete/105572/useless Del: bad code -- https://master.php.net/note/delete/105572/bad+code Del: spam -- https://master.php.net/note/delete/105572/spam Del: non-english -- https://master.php.net/note/delete/105572/non-english Del: in docs -- https://master.php.net/note/delete/105572/in+docs Del: other reasons-- https://master.php.net/note/delete/105572 Reject -- https://master.php.net/note/reject/105572 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182796) next »