[TYPO3-english] Duplicate cHash values

Dmitry Martynenko dima at realt.by
Mon Jan 19 16:06:05 CET 2009


Hi Dmitry,

>> As far as cHash is concerned instead of doing an MD5 hash you could
>> simply do CRC32() in mysql.

DD> Yes, crc32 function also exists in the PHP. But I doubt that 32
DD> bits is enough for many possible combinations of URLs.

I think the same.

Unfortunately MD5 does not guarantee uniqueness as well.
By it's nature it purpose to verify integrity of hashed messages. Not
to generate unique values.

But of course crc32 was made for the same purpose and it is worse then MD5.


-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list