Re:Ask HN: md5 + size = file UID?
by mfukar on Monday August 09, 2010 @10:58AM
(#1588153)
No, because all hashing algorithms suffer from collisions. A perfect hash function for files would require space of at least a number of bits proportional to the size of your problem space.
In practice, you can go with SHA-2, for which no collisions have been found yet.
In practice, you can go with SHA-2, for which no collisions have been found yet.