Hashing
Process of converting data into a fixed-size character string called hash code.
This is done via a hash function, which takes an input or message and produces a hash.
Characteristics
- Deterministic: Same input always produces same output.
- Fixed-size: Regardless of input size
- One-way function:
Collisions
When two different keys end up generating the same hash code.
A well-designed hash functions reduces chances of this occurring.