note 40100 deleted from function.sha1 by nlopess
| From: | nlopess@php.net | Date: | Sun, 22 Feb 2004 09:58:24 +0000 |
| Subject: | note 40100 deleted from function.sha1 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65524@lists.php.net to get a copy of this message | ||
Note Submitter: jchamcham@cmu.edu
----
I just wanted to add a comment SHA1 being surjective and that it shouldn't be used to make
unique IDs. This is true. Note however that for a hash function to be good (and SHA1 is deemed
pretty good), it should be collision resistant, meaning that it is awfully hard to come up with 2
messages that hash to the same value.
Cheers.