How to crack MD5 using matlab

40 views (last 30 days)
Fateme Jalali
Fateme Jalali on 13 Jul 2016
Answered: Jan on 13 Jul 2016
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.

Answers (2)

Guillaume
Guillaume on 13 Jul 2016
Edited: Guillaume on 13 Jul 2016
"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 on 13 Jul 2016
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 .

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!