Hashing
Hashing converts data into a fixed-length digest for integrity checks.
Updated: 2026-03-05
Definition
Hashing transforms input data into a fixed-length output (hash/digest). The same input always produces the same output.
Hashes are used for integrity checks, digital signatures (as a component), and password storage (with salt).
Key points
- One-way function (not reversible)
- Used for integrity, not confidentiality
- Passwords should be salted and hashed with slow algorithms
Common mistakes
- Calling hashing 'encryption' (hashing is one-way).
- Storing passwords with fast hashes without salt.
Related exams
Related terms
Want to practice this in exam-style questions?
Use the mini tests on each exam page, then continue in the app for offline packs and detailed explanations.
Go to exams