C:>fastcoll_v1.0.0.5.exe -o t2.txt t1.txt
MD5 collision generator v1.5
by Marc Stevens (http://www.win.tue.nl/hashclash/)
Using output filenames: 't2.txt' and 't1.txt'
Using initial value: 0123456789abcdeffedcba9876543210
Generating first block: ...
Generating second block: W....
Running time: 4.984 s
檢查一下:
> md5 t1.txt
MD5 (t1.txt) = 01cb8957e7753c450804937882acbf09
> md5 t2.txt
MD5 (t2.txt) = 01cb8957e7753c450804937882acbf09
換 SHA1 再檢查一次:
> sha1 t1.txt
SHA1 (t1.txt) = 2e0ab344f42b32ed9432f83763b940c4b5634943
> sha1 t2.txt
SHA1 (t2.txt) = 49c54bdd33c9871fb81d31ccb64404eff33a3109
只花了五秒鐘就產生了一個 MD5 相同但是內容不同的檔案,心裡毛毛的……