已知输入的MD5冲突 [英] MD5 collision for known input
问题描述
是否可以基于已知的输入值创建MD5冲突?
Is it possible to create a MD5 collision based on a known input value?
因此,例如,我输入了字符串abc
和MD5 900150983cd24fb0d6963f7d28e17f72
.
现在,我想将字节添加到字符串def
以获得相同的MD5 900150983cd24fb0d6963f7d28e17f72
.
So for example I have input string abc
with MD5 900150983cd24fb0d6963f7d28e17f72
.
Now I want to add bytes to string def
to get the same MD5 900150983cd24fb0d6963f7d28e17f72
.
(我知道这可以通过蛮力等待很长时间来实现;我想知道这样做是否有更有效的方法)
(I know this is possible by bruteforcing and waiting a long time; I want to know if there is a more efficient way in doing this)
推荐答案
Unitl现在没有发现可让您找到匹配输入的算法,该输入将生成给定的md5哈希值.
Unitl now no algorithm has been discovered that allows you to find a matching input that will generate a given md5 hash.
已被证明的是,您可以非常轻松地创建md5冲突,例如,使用称为 chosen-prefix-collision 的东西:您可以创建两个文件,通过附加不同的内容来产生相同的md5哈希数据到指定文件.如果您想了解更多信息或让程序尝试使用,请在此处.
What has been proven is that you can create md5 collisions quite easily, for example with what is known as chosen-prefix-collision: you can create two files yielding the same md5 hash by appending different data to a specified file. If you want to know more or get the program to try it, look here.
这篇关于已知输入的MD5冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!