Let's say we have a billion unique images, one megabyte each. We calculate the SHA-256 hash for the contents of each file. The possibility of collision depends on:
- the number of files
the size of the single file
How far can we go ignoring this possibility, assuming it is zero?