vb.net - Brute force MD5 hash in Visual Basic -
i have made program converts string hash using md5 algorithm.
public shared function getmd5hash(byval strtohash string) string dim md5obj new system.security.cryptography.md5cryptoserviceprovider() dim bytestohash() byte = system.text.encoding.ascii.getbytes(strtohash) bytestohash = md5obj.computehash(bytestohash) dim strresult string = "" dim b byte each b in bytestohash strresult += b.tostring("x2") next return strresult end function private sub button1_click(byval sender system.object, byval e system.eventargs) handles button1.click textbox2.text = getmd5hash(textbox1.text) end sub
but have added button use brute force find original text when md5 hash given.
what code can write in button systematically try every word/number , check against original hash?
what code can write in button systematically try every word/number , check against original hash?
looking @ current code , enormous effort create button, recommend, , might sound bit crazy, recommend code within button .... vb.net
Comments
Post a Comment