How to crack MD5 using matlab

40 次查看(过去 30 天)
Fateme Jalali
Fateme Jalali 2016-7-13
回答: Jan 2016-7-13
hello,I am trying to digest some text files using md5.Now to check my results I want to crack md5.can any one help me to crack the code that I attached?I want to gain input from output.

回答(2 个)

Guillaume
Guillaume 2016-7-13
编辑:Guillaume 2016-7-13
"can any one help me to crack the code that I attached" You'll have to explain what that means. There is nothing to "crack" in the code (a FileExchange entry). The code simply generates a hash according to one of the standard hashing algorithm.
"I want to gain input from output". You clearly do not understand what a hashing algorithm does as this is totally impossible. There is an infinite numbers of inputs that result in the same output. MD5 has so many weaknesses that it is now trivial to create several inputs that result in the same output. But just given the output, it's impossible to tell which was the true input.
I recommend you understand first what a hash is.

Jan
Jan 2016-7-13
The function I've published in the FileExchange calls a Java method to calculate the MD5 hash of the input data. There is simply no reason to "crack" it. If you want to check the result, you can compare it with the MD5 obtained by any other method, e.g. FEX: GetMD5.c .

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by