$begingroup$ In fact, all hash functions do generate output of a set length, regardless of the size from the input. This does indicate that there's a theoretical chance of collisions — two different inputs developing the same hash.When you can keep away from collisions by using a cryptographic hash, this isn't done in exercise since cryptographic