[TYPO3-english] Duplicate cHash values

Dmitry Dulepov dmitry at typo3.org
Mon Jan 19 10:31:03 CET 2009


Hi!

Dmitry Martynenko wrote:
> May be better solution is to decrease key length - for example use 16
> byte (binary) MD5 value, instead of 32 chars value. In any case they are equal.
> Binary comparison is always faster then text comparison. Because text
> comparison also takes in account character sets and case sensitivity.

md5 provides uniqueness only if it is full 32-bit value. Using 16 bit will decrease probablity of conflict but will not eliminate it.

-- 
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")


More information about the TYPO3-english mailing list