Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Compression, Encryption and Hashing/Different uses of hashing

Different uses of hashing

1.3.1 Compression, Encryption and Hashing

Practise exam questions

Compression, Encryption and Hashing — Note 4 of 4

Candidates should understand the need for and purpose of using hashing algorithms to store data. Candidates should be aware of different uses for hashing, such as the storing of passwords.

What you need to know

Hashing applies a hash function to data to produce a fixed-size value. Unlike encryption, hashing is one-way: the original data cannot be worked out from the hash. Hashing is used for storing passwords, checking data integrity and locating data quickly.

What to know

  • A good hash function is quick to calculate, produces very different hashes for similar inputs, and makes collisions (two inputs giving the same hash) rare.
  • Hashing is ONE-WAY: it cannot be reversed to get the original data, unlike encryption, which is designed to be decrypted.
  • Because it is one-way, hashing is unsuitable for data you need to read back later, such as a customer's address. Use encryption for that.
  • Use — storing passwords: only the hash of a password is stored. At login, the entered password is hashed and compared with the stored hash. If the database is stolen, the passwords themselves are not revealed.
  • Use — hash tables: the hash of a key gives the location where a record is stored, so data can be found directly without searching.
  • Use — data integrity: a hash (checksum) of a file is sent with it; the receiver recalculates the hash to check the file has not been changed or corrupted.
  • Use — digital signatures: the hash of a message is encrypted to prove its origin and that it has not been altered.

Key terms

Hash function

An algorithm that converts input data of any size into a fixed-size output (the hash or digest).

Exam technique

  • Tip:Explain why hashing suits passwords: even the system administrator cannot see users' passwords, and stolen hashes cannot be reversed. Give the REASON (the hash is one-way), not just the result: 'a hacker can't read the passwords' on its own is only the outcome.
  • Mistake:Calling hashing a type of encryption. Encryption is two-way; hashing is one-way.
  • Mistake:Writing about hash tables when the question is about hashing for SECURITY. Security relies on hashing being one-way (e.g. storing passwords); a hash table uses a hash to find a record quickly. Check which use the question wants.

Past exam questions

  • November 2020Paper 1Q1(d)(iii)4marks
  • June 2017Paper 1Q7(b)(i)1mark
  • June 2017Paper 1Q7(b)(ii)2marks

Compression, Encryption and Hashing

Note 4 of 4

  1. 1Lossy vs lossless compression
  2. 2Run length encoding and dictionary coding for lossless compression
  3. 3Symmetric and asymmetric encryption
  4. 4Different uses of hashing
Topic overview

Ready to test yourself?

Practise 1.3.1 questions
← Previous noteSymmetric and asymmetric encryption1.3.1 Compression, Encryption and HashingNext topic →Relational databases, flat files, keys, entity relationship modelling, normalisation and indexing1.3.2 Databases

Back to Compression, Encryption and Hashing