Educative Answers Team

Free System Design Interview Course

Get Educative's definitive System Design Interview Handbook for free.

Hashing is the process of converting a given key into another value. A **hash function** is used to generate the new value according to a mathematical algorithm. The result of a hash function is known as a **hash value** or simply, a **hash**.

A good hash function uses a **one-way** hashing algorithm, or in other words, the hash cannot be converted back into the original key.