Search code examples
hashmd5brute-force

MD5 hash decryption when knowing part of input


Is it possible to decrypt an MD5 hash if you have part of the original text? Like:

Text     : hi how are you?
MD5 hash : 31a015d54f92382d2cee35eb2f0cc556

MD5 hashes can't be decrypted, but if I know part of the text like hi how are, does that help?


Solution

  • No, you can't, even with partial string.

    With brute-force you can find a combination that generates the same MD5 hash but this combination may or may not be your original string (hash collision).