Introduction
Hashing a string means transforming it into a number.
More formally, we choose a deterministic function that takes a string and returns some integer value called its hash. Deterministic means that the same string must always produce the same hash.
One of the most common ways to define a hash for a string is: