Re: MD5



On Thu, 29 Sep 2005 20:18:58 +0200, Thierry <abuse@xxxxxxxxxxxxx> wrote:

>The function md5 encrypts a string :
>md5('hello') --> 5d41402abc4b2a76b9719d911017c592

No, it does not encrypt a string. It hashes a string.

>But how do we uncrypt a md5 string ?
>function('5d41402abc4b2a76b9719d911017c592') --> hello

You cannot. It is impossible to go back to the original value.

http://en.wikipedia.org/wiki/Md5
http://en.wikipedia.org/wiki/Hash_function
--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.



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)
  • A Problem Using Hashes
    ... I am inching my way through INTERMEDIATE PERL and tried using hashes to ... Use of uninitialized value in string eq at chap4-take6.pl line 49. ... gilligan is missing lotion ... professor is missing coat ...
    (perl.beginners)
  • Re: YAML and ruby classes
    ... hashes and create the objects. ... the class name is converted to a string instead of a reference to the ... However, if you are hand-editing the YAML file, you may find that a class name string is more convenient than this notation. ...
    (comp.lang.ruby)
  • 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: Boolschen Kontext forcieren
    ... Bei Strings ist der leere String false, ... Arrays und Hashes werden im skalaren Kontext interpretiert. ... Next by Date: ...
    (de.comp.lang.perl.misc)