Re: Decrypt

From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 02/04/05


Date: Fri, 4 Feb 2005 12:20:37 -0500

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)
>
> {
>
> ?????
>
> }
>
>
>
>


Relevant Pages

  • Re: Xml formatted output
    ... > public static string GetFormattedXML(string xml) ... > William Stacey, MVP ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Decrypt
    ... You can't reverse it. ... You can, however, verify ... > two strings will produce the same hash. ... >> public static string DeCript ...
    (microsoft.public.dotnet.security)
  • Hashing function different values on different OS ?
    ... I use a simple function to create a hash of a file using sha ... an utility i'm writing. ... public static String digestthrows ...
    (comp.lang.java.programmer)
  • Re: Decrypt
    ... You can't reverse it. ... It's a hash. ... and init it in here ... public static string Decrypt{ ...
    (microsoft.public.dotnet.security)
  • Re: XML Encryption
    ... Only one bit can change the SHA hash result a lot. ... > Imports System.Collections ... >> William Stacey, MVP ...
    (microsoft.public.dotnet.xml)