Darkmatter5 Posted November 11, 2008 Share Posted November 11, 2008 How can one convert a md5 string to it's cleartext or non-md5 version? Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/ Share on other sites More sharing options...
DarkWater Posted November 11, 2008 Share Posted November 11, 2008 There is absolutely no way to decode MD5 other than bruteforcing it or using rainbow tables. Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687870 Share on other sites More sharing options...
Porl123 Posted November 11, 2008 Share Posted November 11, 2008 Once it's been encrypted it can't be changed back, otherwise it defeats the object Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687873 Share on other sites More sharing options...
premiso Posted November 11, 2008 Share Posted November 11, 2008 You can't unless you used a modified version to encrypt it. MD5 is a one-way hash. If you want to be able to decrypt it take a look at the comments under http://www.php.net/md5 I am sure you will find an encrypt/decrypt version there. Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687875 Share on other sites More sharing options...
DarkWater Posted November 11, 2008 Share Posted November 11, 2008 You can't unless you used a modified version to encrypt it. MD5 is a one-way hash. If you want to be able to decrypt it take a look at the comments under http://www.php.net/md5 I am sure you will find an encrypt/decrypt version there. If you can decrypt it, it's not really MD5.... =/ Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687880 Share on other sites More sharing options...
premiso Posted November 11, 2008 Share Posted November 11, 2008 You can't unless you used a modified version to encrypt it. MD5 is a one-way hash. If you want to be able to decrypt it take a look at the comments under http://www.php.net/md5 I am sure you will find an encrypt/decrypt version there. If you can decrypt it, it's not really MD5.... =/ Agreed, but there are functions created on that page that allow encryption/decryption if someone is looking for that type of functionality. =) Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687890 Share on other sites More sharing options...
Mark Baker Posted November 11, 2008 Share Posted November 11, 2008 Agreed, but there are functions created on that page that allow encryption/decryption if someone is looking for that type of functionality. I have yet to see any function that actually decrypts an md5 hash. What I have seen is plenty of reverse-lookups against known hash values. Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687896 Share on other sites More sharing options...
premiso Posted November 11, 2008 Share Posted November 11, 2008 Agreed, but there are functions created on that page that allow encryption/decryption if someone is looking for that type of functionality. I have yet to see any function that actually decrypts an md5 hash. What I have seen is plenty of reverse-lookups against known hash values. Had to reply, just a statement, no where did I state that a function will decrypt an MD5 hash. It will decrypt a hash that has been made to be decrypted using an encrypt/decrypt function someone else created. If you do search the user comments on the php.net md5 page you will find a few functions that will allow encryption/decryption of their own created hash. The kicker is it has to be hashed using that encrypt function and decrypted using their decryption function. This is in no way as secure as MD5 is for the obvious reasons. But there is a way to encrypt/decrypt strings if using the right function. That was simply the point I was making. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/132310-md5-to-cleartext/#findComment-687923 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.