Re: [PHP4BETA] Zend hash functions enchantments [PATCH]
| From: | Jerry Lundström | Date: | Thu, 06 Apr 2000 07:32:45 +0000 |
| Subject: | Re: [PHP4BETA] Zend hash functions enchantments [PATCH] | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13209@lists.php.net to get a copy of this message | ||
On Wed, 5 Apr 2000 18:01:19 +0200 (IST), Andi Gutmans <andi@zend.com> wrote:
>I don't think your patch is correct unless I'm missing something.
>Two different strings can have the same length and the same hash value. It
>doesn't seem as if your implementation works in this case.
Are you sure about this?
If it is so then then hash algo seams a little bit weak because that should
not happen. You shouldn't get two diffrent strings with the same hash value.
Guess I have to move back to strings then...
--
Jerry Lundström:<jerry.lundstrom@citat.se>
mobile+46.739.876053:phone+46.31.7107244:fax+46.31.7107201
citat.solutions:Kronhusgatan.9:SE-411.05.Göteborg:Sweden
www.citat.se/solutions