ISC2 CC Security Principles Practice Question
What is the primary purpose of hashing in information security?
⚠ Common exam trap
The trap is assuming hashing provides confidentiality because it 'scrambles' data — but hashing is one-way and irreversible, so it cannot protect data confidentiality like encryption does.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
To ensure data integrity
Hashing produces a fixed-length digest from input data, and any change to the input produces a completely different hash. This property makes hashing the standard mechanism for verifying data integrity, such as checking file downloads or validating message contents. It is a one-way function, so it does not provide confidentiality or authentication by itself.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To provide availability
Why it's wrong here
Hashing supports integrity, not availability; availability concerns uptime, redundancy and denial-of-service resistance. It is tempting because checksums can detect corruption that might otherwise cause outages, but that is an indirect integrity benefit. Hashing would be the correct answer where the requirement is verifying that data has not been altered.
- ✗
To encrypt data for confidentiality
Why it's wrong here
Hashing is one-way and cannot be reversed, so it cannot provide confidentiality; encryption is reversible with a key. It is tempting because both transform data into unreadable output, but hashing serves integrity verification and password storage, where encryption would be the correct choice for protecting data at rest or in transit.
- ✓
To ensure data integrity
Why this is correct
Hashing produces a fixed-length digest from input data; any alteration to that input yields a different digest, so recomputing and comparing hashes detects modification. This one-way property provides integrity verification, unlike encryption, which provides confidentiality by making data unreadable.
- ✗
To authenticate users
Why it's wrong here
Hashing can be part of authentication (e.g., password storage) but its primary purpose is integrity.
Go deeper
Related to this question
Learn chapter
Authentication and Authorization Methods
Key term
Standard
A standard is an agreed-upon set of rules, guidelines, or specifications that ensure consistency, compatibility, and quality across IT products, services, and processes.
Key term
Confidentiality Integrity and Availability
The CIA Triad is a foundational security model that ensures data is kept secret, unaltered, and accessible when needed.
About these practice questions
One of 989 original CC practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official ISC2 exam blueprint
This CC practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CC exam.