The implementation is from a fast "MD5 Collision Generator", version 1.0.0.5-1, on the following page.
The changes are in main.cpp
to make it work with recent version of boost.
A make file is added to make it easy to compile on Linux.
As of Jan 2024, the project can be compiled with gcc (which supports C++) on Ubuntu 22.04. boost
is no longer needed.
To install gcc, run the following commands.
sudo apt update
sudo apt install build-essential
Clone this repo.
git clone https://github.com/zhijieshi/md5collgen.git
Then in the project directory, run make
.
cd md5collgen
make
Marc Stevens also maintains a project that generates SHA-1 collisions. link.