Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Collision
resistance is a property of cryptographic hash functions: a hash
function is collision resistant if it is hard to find two inputs that
hash to the same output; that is, two inputs a and b such that H(a) =
H(b). Every hash function with more inputs than outputs will necessarily
have collisions. Consider a hash function such as SHA-256 that produces
256 bits of output from an arbitrarily large input. Since it must
generate one of 2256 outputs for each member of a much larger set of
inputs, the pigeonhole principle guarantees that some inputs will hash
to the same output. Collision resistance doesn't mean that no collisions
exist; simply that they are hard to find.