Re: md5 encryption



simon said the following on 27/05/2005 20:04:
Sorry, but that's not true.
As said, it is technically possible to get the original string but near
impossible to do so.

Well, whilst it's technically possible to get a string that hashes to the same
value (which is generally all you need if it's used as a password), this only
means it _might_ be the original string; it is completely impossible to
determine whether it actually _is_ the original string.

And all I was trying to do was to correct the statement that md5 was a one way hash.



It is one-way, in that it's a many-to-one mapping.

Start with a given string, it will always map to the same hash. Start with the hash, it could map to any one of an infinite number of strings.


-- Oli .



Relevant Pages

  • Re: Unhashing int64 to string
    ... The hash value can only tell you which set of about ... you may have some information about the original string ... or usually shorter than 20 characters. ... If the string were known to be a fragment of natural language text, ...
    (comp.theory)
  • Re: Problem with decryption
    ... storing it and decrypting it back tot he original string. ... A crytographic hash is a unique result ... > The hash itself is NOT decryptable back to the original string. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What function allows conversion md5 in text
    ... original string. ... Even a string of 5 characters may have a duplicate ... same hash as 'abc', for instance. ... Hoshi: "Shouldn't we try to help them?" ...
    (comp.lang.php)
  • Re: What function allows conversion md5 in text
    ... original string. ... Even a string of 5 characters may have a duplicate hash. ... Or a password of 'ksfjlksahoh3ndskjvcn' just might have the same hash as 'abc', ... it doesn't matter which one the user uses to get into the system. ...
    (comp.lang.php)
  • Re: How to Decrypt
    ... > I am using the follwoing method to encrypt a passowrd. ... > But I like to decrypt back to original string. ... Your function calculates a hash value of the password. ...
    (microsoft.public.dotnet.languages.vb)