Re: Decrypt

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


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


Relevant Pages

  • Re: [fw-wiz] Stanford break in
    ... > number and a special character.) ... > change the hash and make it harder for brute force to check. ... a password cracker takes strings and hashes them.. ... you gotta burn MORE cycles producing hashes from each string. ...
    (Firewall-Wizards)
  • Re: Generating a unique string without normal character sets
    ... UID inviteId = new UID; ... I'd like to have a unique string consists of normal characters, ... No, Hashes are never guaranteed to be unique, but the good ones have a ... general, so I'd argue that a perfect hash is a hash, that a perfect ...
    (comp.lang.java.programmer)
  • Re: [Full-disclosure] Month of Random Hashes: DAY THREE
    ... What am I going to do with hashes? ... > that sha1 hash signature, fucking that sha256 hash signature, fucking ... >> but only one string can produce that md5 hash signature, ...
    (Full-Disclosure)
  • Re: Why unhashing is not possible?
    ... for example let's add the word 'Pie' to our hash table, ... The key 'Apple' hashes to 0x41, ... Since the database key is 24 bits, 72 bits, or even of variable length, ... The only way we have of constructing a function to 'reverse' the hash ...
    (comp.security.misc)
  • Re: [Full-disclosure] Month of Random Hashes: DAY THREE
    ... What am I going to do with hashes? ... that sha1 hash signature, fucking that sha256 hash signature, fucking that ... that although given a particular string A, we can *easily* compute the hash H. ...
    (Full-Disclosure)