RE: how to Brute Force MD5 07-26-2016, 01:38 PM
#2
Wasalam, MD5 is a hashing Algorithm, you can't revert it (i.e get the original value) It's not an encryption. The easiest way to crack MD5 is to launch a dictionary attack, pick each word from your dictionary and convert it into an MD5 hash then compare it with your original hash. A match means you have a word in your dictionary that maps to your hash and is indeed your original string that you want.
Check it out here on how to generate a MD5 hash in Java http://stackoverflow.com/questions/41595...n-md5-hash
PSEUDO CODE for your program:
Check it out here on how to generate a MD5 hash in Java http://stackoverflow.com/questions/41595...n-md5-hash
PSEUDO CODE for your program:
Code:
hash_to_crack = textbox_value_here
for each word in the dictionary:
hash = convert_word_to_md5_hash()
if hash matches has_to_crack:
display to the user that the cracked string is: word
break the loop
else keep on matching till the dictionary ends or a valid match is found