nerdexam
CompTIA

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.

Submitted by asante_acc· Mar 4, 2026General security concepts

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)
  • A
    80% (20)
  • B
    4% (1)
  • C
    4% (1)
  • D
    12% (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.

AFind two identical messages with different hashesCorrect

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.

BFind two identical messages with the same hash

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.

CFind a common has between two specific messages

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.

DFind a common hash between a specific message and a random message

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

#hash collision#collision resistance#cryptographic hashing#hash functions

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice