HashClash: A framework for studying the weaknesses of MD5 and SHA-1

HashClash is a software framework for cryptanalysis of the MD5 and SHA-1 cryptographic hash functions, and for Chosen-Prefix Collisions for MD5. It was developed in the Cryptology group to further understanding and study of the weaknesses of the MD5 and SHA-1 algorithms.

In addition to generic tools, HashClash contains three specific attacks on MD5 and SHA-1: an Identical-Prefix Collision attack for MD5; a Chosen-Prefix Collision attack for MD5; and a Near-Collision attack for SHA-1. They can be used to demonstrate specific attacks.

The HashClash framework is used in various Computer Science – Cryptography courses at universities all over the world.