D5 · Crypto

What is a hash collision?

A hash collision occurs when two different inputs produce the same hash output — undermining the hash function's integrity guarantees. MD5 and SHA-1 have known practical collision attacks.
Collision attacks break digital signatures and file integrity checks. SHA-256 and SHA-3 are collision-resistant. The birthday attack is used to find collisions probabilistically. Hash functions with collisions should not be used for security purposes.
← Back to Glossary Practice Questions →