Re: Problem with custom resource compiled filenames

Monte Ohrt <[email protected]> Tue, 23 Aug 2005 08:26:45 -0500
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
For what it's worth, I have never seen a hash collision (or had a report 
of one) in Smarty.

messju mohr wrote:

>On Tue, Aug 23, 2005 at 10:42:53AM +0200, Ivo Jansch wrote:
>  
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hoi,
>>
>>Monte Ohrt wrote:
>>
>>    
>>
>>>That would be fine with me, although Smarty uses crc32() everywhere
>>>instead of md5() since it is 10x faster.
>>>      
>>>
>>That would be fine with me as well, but I was in doubt whether crc32
>>guarantees a unique hash for every string the way md5 does.
>>    
>>
>
>neither of the two do does guarantee that. the probability of a
>collision is just much lower with md5.
>
>  
>
>>Greetings,
>>Ivo
>>
>>- --
>>Ivo Jansch <[email protected]>
>>ibuildings.nl BV - information technology
>>http://www.ibuildings.nl
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.2.4 (MingW32)
>>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>>iD8DBQFDCuGN95NUnGFZm9cRAq6TAJwMEajligkD20AH06FtiSM67ruNRQCg1pm8
>>2L1ozOJs0fZ9HXfb/udmogs=
>>=55Zn
>>-----END PGP SIGNATURE-----
>>
>>-- 
>>Smarty Development Mailing List (http://smarty.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>    
>>
>
>
>
>
>
>
>
>!DSPAM:430ae533192415660158953!
>
>
>  
>

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php