Zzangg  

查找资料,提供不少于3条md5算法和3条sh1算法的碰撞实例
1 提供数据和数据来源(图书,网站...)
2 用openssl命令验证碰撞,提交演示街头

MD5

例1

数据来源:https://www.jianshu.com/p/c9089fd5b1ba

0e306561559aa787d00bc6f70bbdfe34
04cf03659e704f8534c00ffb659c4c87
40cc942feb2da115a3f4155cbb860749
7386656d7d1f34a42059d78f5a8dd1ef

0e306561559aa787d00bc6f70bbdfe34
04cf03659e744f8534c00ffb659c4c87
40cc942feb2da115a3f415dcbb860749
7386656d7d1f34a42059d78f5a8dd1ef

两端数据第三行有所差别,但md5值相同

image

例2

数据来源:https://www.mscs.dal.ca/~selinger/md5collision/

d131dd02c5e6eec4693d9a0698aff95c2fcab58712467eab4004583eb8fb7f89
55ad340609f4b30283e488832571415a085125e8f7cdc99fd91dbdf280373c5b
d8823e3156348f5bae6dacd436c919c6dd53e2b487da03fd02396306d248cda0
e99f33420f577ee8ce54b67080a80d1ec69821bcb6a8839396f9652b6ff72a70

d131dd02c5e6eec4693d9a0698aff95c2fcab50712467eab4004583eb8fb7f89
55ad340609f4b30283e4888325f1415a085125e8f7cdc99fd91dbd7280373c5b
d8823e3156348f5bae6dacd436c919c6dd53e23487da03fd02396306d248cda0
e99f33420f577ee8ce54b67080280d1ec69821bcb6a8839396f965ab6ff72a70
image

例3

数据来源:https://crypto.stackexchange.com/questions/1434/are-there-two-known-strings-which-have-the-same-md5-hash-value

image

SHA1

例1:

数据来源:https://sha-mbles.github.io/

image

例2:

数据来源:https://crypto.stackexchange.com/questions/34575/sha1-collision-for-first-32-bits-for-two-different-messages
弱碰撞:
abc123_owlstead_1255 和 abc123_owlstead_59131 前32位哈希值相同

image

例3:

数据来源:SHAttered
https://shattered.it/static/shattered-1.pdf
https://shattered.it/static/shattered-2.pdf

image

image

posted on 2023-06-04 16:03  Zzangg  阅读(32)  评论(0编辑  收藏  举报