Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: how to decode md5_base64 encoded data to get original data

by chrestomanci (Priest)
on Jun 01, 2012 at 09:02 UTC ( #973708=note: print w/replies, xml ) Need Help??

in reply to how to decode md5_base64 encoded data to get original data

In the general case, you can't, as BrowserUK says, md5 is digest, not a cypher so you can't decrypt.

If the list of plaintexts is small and known, you could construct a lookup table that will allow you to convert from one to the other, but that is limited by the time it takes to pre-compute hashes, and the disc space to store them all. Likewise if you can guess plaintext, then you can check your guesses.

There are services online that have access to big lookup tables to decrypted hashed passwords, though they are only suitable for short common passwords, and even then don't work very well. For example I tested with the md5 hash for "password" and "secret". successfully decrypted "secret", while was not able to crack either hash.

I should also remind you that depending on the circumstances, cracking passwords in this way may be illegal, unethical, or against the rules of your employer. You should tread with caution, and seek advice before attempting to reverse any md5 hashed data or password that you did not originate yourself.

  • Comment on Re: how to decode md5_base64 encoded data to get original data

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973708]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-09-28 22:38 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (541 votes). Check out past polls.