PoojaKrishna Posted November 12, 2008 Share Posted November 12, 2008 Hai friends, I have a string, ie encrypted using the MD5 algorithm. I know the secret word that is used to encrypt. How could I get the string decrypted. Please help Pooja. Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 12, 2008 Share Posted November 12, 2008 Hash functions don't work in a round trip fashion. MD5 is a hash, not an encryption. Link to comment Share on other sites More sharing options...
PoojaKrishna Posted November 12, 2008 Author Share Posted November 12, 2008 Thank you Richard for your reply. So, is it not possible to unhash the string using MD5. Pooja. Link to comment Share on other sites More sharing options...
JRowe Posted November 12, 2008 Share Posted November 12, 2008 If you have a database of hashes, you can guesstimate correct reversals, but for any large length it's impossible. Unless you have a few supercomputers in the garage. The only reason so reverse an MD5 is to get at passwords, usually. It is an extremely interesting mathematical pursuit, and it's theoretically possible to generate an algorithm that encompasses every possible string for a particular hash. ae661d08d1ca1576a6efcb82b7bc502f is the hash of blah blah If you have the passphrase, you can generate a list of all possible phrases that result in that hash up to length n. Since generating the phrase for length N consists of iterating through all possible combinations of characters of length N, you are dependent on a brute force method. As an aside, finding an algorithm for any given passphrase that returns the original hashed value is part of the P vs NP problem; There are general solutions for particular values, but no solutions encompassing the entire problem domain. If I had to retrieve the hashed data, I would need to know how long it was, what type of data it consisted of, and so on, to refine the required brute force approach. Even then, if it was very large, it would take a long time to get the original data. If a general purpose solution were found that reversed MD5 for arbitrary passphrases, which returned unhashed data of specified length, you'd have a helluva compression method, not to mention a general purpose data transmission dream. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
PoojaKrishna Posted November 12, 2008 Author Share Posted November 12, 2008 Thank you Jrowe. Link to comment Share on other sites More sharing options...
AzKay Posted November 12, 2008 Share Posted November 12, 2008 If you have a database of hashes, you can guesstimate correct reversals, but for any large length it's impossible.Not impossible, Just time consuming. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 12, 2008 Share Posted November 12, 2008 Time consuming is putting it lightly. Link to comment Share on other sites More sharing options...
AzKay Posted November 12, 2008 Share Posted November 12, 2008 Time consuming is putting it lightly....Nonetheless xD # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
torels Posted November 12, 2008 Share Posted November 12, 2008 Or you could use a Rainbow Table. It's an enormous database containing thousands of hashes... but it's very very heavy I think brute force is the most appropriate method... but it will take ages for long strings Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now