[TYPO3-core] TYPO3 md5 hashes - exemplified in bug#4363

Dmitry Dulepov dmitry at typo3.org
Fri Oct 13 10:43:57 CEST 2006


Hi!

Martin Kutschker wrote:
> This bug is more a DB/DBAL issue:
> http://bugs.typo3.org/view.php?id=4363
> 
> Buuut, why does TYPO3 has the habit to truncated md5 hashes? I mean, 
> they have a certain length on purpose.
> 
> What will break if we try and use the full length hash whenever 
> possible? IMHO those extra bytes are well spent for any cache index.

Indexes may be not used by mysql. Mysql often decides not to use long 
indexes.

In my opinion truncated md5 is not valid thing. It is like truncating 
password: the less symbols the more chances to get the same in another 
entry.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list