Are fragments of hashes collision-resistent?
- by Mark
Let me see if someone would mind clearing up this elementary point about md5 and hashing.
If you only use the first 4 bytes of an md5 hash, would that mean theoretically only 1 in 255^4 chance of collision. iow is that the intention with it (and other hash algorithms) - that you only have to use a small portion of the returned hash (say the hash is of a file of some size).