Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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". md5decrypter.co.uk successfully decrypted "secret", while md5crack.com 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-09-22 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (189 votes), past polls