15 May
2009
15 May
'09
5:52 p.m.
At 08:32 AM 5/15/2009 +0200, Jeroen Ruigrok van der Werven wrote:
Agreed. Within FreeBSD's ports the installed package registration gets a MD5 hash per file recorded. Size is less interesting though, since essentially this information is encapsulated within the hash. Remove one byte from the file and your hash is already different.
Which also means that in that case you can skip computing the MD5. The size allows you to easily notice an overwrite/corruption without further processing.