How to transform phrases and words into MD5 hash?

Posted by brilliant on Stack Overflow See other posts from Stack Overflow or by brilliant
Published on 2010-04-04T12:27:49Z Indexed on 2010/04/04 12:33 UTC
Read the original article Hit count: 549

Filed under:
|
|
|

Can anyone, please, explain to me how to transform a phrase like "I want to buy some milk" into MD5? I read Wikipedia article on MD5, but the explanation given there is beyond my comprehension:

"MD5 processes a variable-length message into a fixed-length output of 128 bits. The input message is broken up into chunks of 512-bit blocks (sixteen 32-bit little endian integers)"

"sixteen 32-bit little endian integers" is already hard for me. I checked the article on little endians and didn't understand a bit.

However, the examples of some phrases and their MD5 hashes are very nice:

MD5("The quick brown fox jumps over the lazy dog") = 9e107d9d372bb6826bd81d3542a419d6

MD5("The quick brown fox jumps over the lazy dog.") = e4d909c290d0fb1ca068ffaddf22cbd0

Can anyone, please, explain to me how this MD5 algorithm works on some very simple example?

And also, perhaps you know some software or a code that would transform phrases into their MD5. If yes, please, let me know.

© Stack Overflow or respective owner

Related posts about md5

Related posts about hash