MD5 to String Convert Logic [closed]

There is not a way to “decrypt” md5 to it’s original string, as it is a one way hashing algorithm.

Imagine you taking a small video maybe 100MB big, and making an MD5 hash out of it, how in the world would you get that back from a 32 Byte string? Or in your case maybe just a single german word like “Donaudampfschifffahrtsgesellschaftskapitänsmütze” which in itself has 48 characters.

But this does NOT mean that it is safe to use, in fact quite the opposite is true.

  • For easy passwords you might find a quick match using a dictonary attack
  • There are loads of rainbow tables for MD5
  • Most of all, there have been found algorithms to find a match (collision) for an MD5 encoded string, in realtively short time (-> without having to wait for the sun to die before that happens)

There are still valid cases to use MD5, but just understand the background and thereby know where not to use it. Eg for storing passwords you should consider using a salted hash algorithm.

(Bold words are good suggestions to google for more background info)

Leave a Comment