Re: Decrypt
From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 02/04/05
- Next message: Sean Hederman: "Re: Decrypt"
- Previous message: news.microsoft.com: "Re: Decrypt"
- In reply to: news.microsoft.com: "Re: Decrypt"
- Next in thread: Sean Hederman: "Re: Decrypt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Feb 2005 15:51:48 -0500
You can not reverse it. That is a benefit of hashes. To prove you know the
same hash, you just run your string into the function again and compair the
two hashes.
-- William Stacey, MVP http://mvp.support.microsoft.com "news.microsoft.com" <claudio@expertsinfo.com.br> wrote in message news:O6UqDuvCFHA.2608@TK2MSFTNGP10.phx.gbl... > How do I revese it? Can you give me an example? > > "William Stacey [MVP]" <staceywREMOVE@mvps.org> escreveu na mensagem > news:epxqf7tCFHA.624@TK2MSFTNGP15.phx.gbl... > > MD5 is a one way hash. You can't reverse it. You can, however, verify > > that > > two strings will produce the same hash. > > > > -- > > William Stacey, MVP > > http://mvp.support.microsoft.com > > > > "news.microsoft.com" <claudio@digi.com.br> wrote in message > > news:##lkT0tCFHA.3280@TK2MSFTNGP14.phx.gbl... > >> I found the followin example of how to encrypt a text: > >> public static string Cript(string text) > >> > >> { > >> > >> Byte[] clearBytes = new UnicodeEncoding().GetBytes(text); > >> > >> Byte[] hashedBytes = ((HashAlgorithm) > >> CryptoConfig.CreateFromName("MD5")).ComputeHash(clearBytes); > >> > >> > >> return BitConverter.ToString(hashedBytes); > >> > >> } > >> > >> > >> > >> I would like to know how to decrypt it. Does anyone can help me? > >> > >> > >> > >> public static string DeCript(string text) > >> > >> { > >> > >> ????? > >> > >> } > >> > >> > >> > >> > > > >
- Next message: Sean Hederman: "Re: Decrypt"
- Previous message: news.microsoft.com: "Re: Decrypt"
- In reply to: news.microsoft.com: "Re: Decrypt"
- Next in thread: Sean Hederman: "Re: Decrypt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|