Hashing uses a mathematical function to generate a value from a text that is easy to verify, but practically impossible to fake.