Unc3nZureD Posted January 2, 2012 Share Posted January 2, 2012 (edited) Hi all, I'll be fast and straight. _Crypt_HashData($Data, $CALG_MD5) Is there any way to do the same, but reversed? (MD5 to Text) Edited January 2, 2012 by Unc3nZureD Link to comment Share on other sites More sharing options...
jvanegmond Posted January 2, 2012 Share Posted January 2, 2012 (edited) No.MD5 is a hash.A hash is one-way.You encrypt it once, never able to decrypt it.Edit: 1337 h4xx0r. Lol. Edited January 2, 2012 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
KaFu Posted January 2, 2012 Share Posted January 2, 2012 Problem is that the string <> md5 hash relation is n:1. #include <Crypt.au3> #include <Inet.au3> $sString = "Test" $sString_Enc = StringTrimLeft(_Crypt_HashData($sString, $CALG_MD5), 2) $sUrl = _INetGetSource("http://www.md5rainbow.com/" & $sString_Enc) $sUrl = StringTrimLeft($sUrl, StringInStr($sUrl, "<h1>" & $sString_Enc & "</h1>") + StringLen("<h1>" & $sString_Enc & "</h1>")) $sUrl = StringLeft($sUrl, StringInStr($sUrl, "<") - 1) MsgBox(0, "", $sUrl) OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
KaFu Posted January 2, 2012 Share Posted January 2, 2012 On the other hand 84,789,141 MD5 hashes are quite a lot ... #include <Crypt.au3> #include <Inet.au3> Global $sString_Dec $sString = "The quick brown fox jumps over the lazy dog" $aString = StringSplit($sString," ") For $i = 1 to $aString[0] $sString_Enc = StringTrimLeft(_Crypt_HashData($aString[$i], $CALG_MD5), 2) $sUrl = _INetGetSource("http://www.md5rainbow.com/" & $sString_Enc) $sUrl = StringTrimLeft($sUrl, StringInStr($sUrl, "<h1>" & $sString_Enc & "</h1>") + StringLen("<h1>" & $sString_Enc & "</h1>")) $sUrl = StringLeft($sUrl, StringInStr($sUrl, "<") - 1) $sString_Dec &= $sUrl & " " Next $sString_Dec = StringTrimRight($sString_Dec,1) MsgBox(0, "", $sString_Dec) OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) 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