SY0-501 · Question #174
An administrator is testing the collision resistance of different hashing algorithms. Which of the following is the strongest collision resistance test?
The correct answer is A. Find two identical messages with different hashes. Collision resistance in hashing means it should be computationally infeasible to find two different inputs that produce the same hash output. The strongest test verifies that identical messages cannot produce different hashes, confirming deterministic integrity.
Question
An administrator is testing the collision resistance of different hashing algorithms. Which of the following is the strongest collision resistance test?
Options
- AFind two identical messages with different hashes
- BFind two identical messages with the same hash
- CFind a common has between two specific messages
- DFind a common hash between a specific message and a random message
How the community answered
(25 responses)- A80% (20)
- B4% (1)
- C4% (1)
- D12% (3)
Why each option
Collision resistance in hashing means it should be computationally infeasible to find two different inputs that produce the same hash output. The strongest test verifies that identical messages cannot produce different hashes, confirming deterministic integrity.
Finding two identical messages that produce different hashes would indicate the hashing algorithm is non-deterministic, which is the strongest violation of hash function integrity. A cryptographically strong hash must always produce the same output for the same input; if identical messages yield different hashes, the algorithm is fundamentally broken and cannot be trusted for any integrity or collision-resistance purpose.
Finding two identical messages with the same hash is expected and normal behavior - a deterministic hash function always produces identical output for identical input, so this tests nothing meaningful about collision resistance.
Finding a common hash between two specific messages describes a 'collision' scenario, but targeting two specific messages is a weaker test known as a second-preimage attack rather than the strongest form of collision resistance testing.
Finding a common hash between a specific message and a random message describes a second-preimage attack, which is a less stringent collision resistance test than verifying deterministic behavior across identical inputs.
Concept tested: Hash function collision resistance and deterministic integrity
Source: https://csrc.nist.gov/glossary/term/collision_resistance
Topics
Community Discussion
No community discussion yet for this question.