Hash functions are a fundamental part of modern programming. They map a variable-sized input to a fixed-size output.
We can use them to:
- Verify the integrity of files and make sure they have not been modified.
- Save a password in a database without the risk that if somebody steals the data, they will be able to know the passwords.
- Create a hash table to store items. With that, we can find them faster and using less memory.
This is just an introduction, in the following posts we will go deeper into more use cases and other data structures using hashes. You can subscribe if you want to get notified.