SHA1 碰撞演示/示例 [英] SHA1 collision demo / example

查看:28
本文介绍了SHA1 碰撞演示/示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题类似于这个,但那个问题只引用了 MD5 碰撞演示.

This question is similar to this, but that one only references MD5 collision demos.

到目前为止,是否有任何已知的任意消息的实际 SHA1 冲突对?

Are there any actual SHA1 collision pairs of arbitrary messages known so far ?

我想用这些来测试各种软件产品(我自己的和一些第三方的)如何处理它.

I'd like to use these to test how various software products (my own one and some third party) deal with it.

进行一些 Google 搜索只发现了非常突出的 MD5/SHA0 冲突以及有关创建 SHA1 冲突的方法的一些提示,但我无法获得任何示例.

Doing some Google searches only turned up the oh-so prominent MD5 / SHA0 collisions and some hints on an approach to creating SHA1 collisions but I could not get my hands on any examples.

推荐答案

第一个已知的碰撞现已发布在 https://粉碎.它/

The first known collision has now been published at https://shattered.it/

$ curl -sSO https://shattered.it/static/shattered-1.pdf
$ curl -sSO https://shattered.it/static/shattered-2.pdf

$ sha1sum *.pdf
38762cf7f55934b34d179ae6a4c80cadccbb7f0a  shattered-1.pdf
38762cf7f55934b34d179ae6a4c80cadccbb7f0a  shattered-2.pdf

$ sha256sum *.pdf
2bb787a73e37352f92383abe7e2902936d1059ad9f1ba6daaa9c1e58ee6970d0  shattered-1.pdf
d4488775d29bdef7993367d541064dbdda50d383f89f0aa13a6ff2e0894ba5ff  shattered-2.pdf

这篇关于SHA1 碰撞演示/示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆