Hashing is mainly used to store passwords because:

  1. It makes the password longer
  2. It compresses the password to save space
  3. It can be reversed with a public key
  4. It is one-way — the original password cannot easily be recovered from the hash
Answer

D) It is one-way — the original password cannot easily be recovered from the hash

Systems store the hash; at login they hash the typed password and compare. SLO CS-11-A-04 · Knowledge

Computer Science MCQ · More Unit 1: Computer Systems MCQs · Practise