312-50V10 · Question #581
Which property ensures that a hash function will not produce the same hashed value for two different messages?
The correct answer is A. Collision resistance. Collision resistance is the cryptographic property that guarantees it is computationally infeasible for two distinct inputs to produce the same hash digest.
Question
Which property ensures that a hash function will not produce the same hashed value for two different messages?
Options
- ACollision resistance
- BBit length
- CKey strength
- DEntropy
How the community answered
(22 responses)- A86% (19)
- B5% (1)
- C9% (2)
Why each option
Collision resistance is the cryptographic property that guarantees it is computationally infeasible for two distinct inputs to produce the same hash digest.
Collision resistance means no two different messages M1 and M2 should yield the same hash output, making it computationally infeasible for an attacker to find such a pair. This property is critical for digital signatures and data integrity, because a collision would allow an attacker to substitute one message for another while preserving the same hash value. It is one of the three core security properties required of a cryptographic hash function alongside preimage resistance and second preimage resistance.
Bit length describes the size of the hash output such as 256 bits for SHA-256, which influences brute-force difficulty but does not define the collision-avoidance property.
Key strength is a concept applied to symmetric and asymmetric encryption keys, and is not a property of hash functions, which are keyless by design.
Entropy measures randomness and unpredictability in data and is relevant to key generation and password quality, not to whether a hash function produces unique outputs.
Concept tested: Hash function collision resistance property
Source: https://csrc.nist.gov/glossary/term/collision_resistance
Topics
Community Discussion
No community discussion yet for this question.