Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 717941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:28:11+00:00 2026-05-14T05:28:11+00:00

Can anyone, please, explain to me how to transform a phrase like I want

  • 0

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 Wiki article on little endians and didn’t understand a bit.

However, the examples of some phrases and their MD5 hashes in that Wiki article 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 using 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:28:11+00:00Added an answer on May 14, 2026 at 5:28 am

    Forget about the endians: it’s just a way name for a way to encode information.

    Let’s follow the wikipedia MD5 article. You start with an input message. It can be arbitrarily long: MD5 hashes for 2GB ISO files are routinely created, just like hashes for strings a dozen characters long (e.g. for passwords).

    The hash will be contained in registers a , b, c and d. These registers are initialized with special values (h0-h3).

    The algorithm breaks the input into 16 4-byte chunks (“sixteen 32-bit little-endian words”) and applies specific logical operations (functions F, G, H and I) on parts of the input and the current state of registers a , b, c and d. It does this 64 times for each set of 16 4-byte chunks.

    When all of the chunks are processed, what remains in a , b, c and d is the final hash, the one you might get by invoking md5sum testfile.txt.

    Update:

    If you just want to be able to calculate a hash, implementing it yourself makes no sense because it’s been done and tested for probably every significant language out there:

    Python:

    import md5
    md5.new("Nobody inspects the spammish repetition").digest()
    

    SQL (MySQL):

    SELECT MD5('Nobody inspects the spammish repetition')
    

    Java:

    String s="Nobody inspects the spammish repetition";
    MessageDigest m=MessageDigest.getInstance("MD5");
    m.update(s.getBytes(),0,s.length());
    System.out.println(new BigInteger(1,m.digest()).toString(16));
    

    etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a box like this with title: Can any one please
Can anyone please explain the following HAVING clause from an Access database? How can
Can anyone please explain the usage of the character constant \000 and \xhh ie
Can anyone please explain to me why the following two queries yield different results?
Can anyone please explain me what is DataContractTranslstor and what's it's use?
Can anyone please explain this? struct node { int data; struct node * link;
Can anyone please explain what the following code checks for? I can make no
Can anyone please explain how this works #define maxMacro(a,b) ( (a) > (b) )
can anyone please suggest a good code example of vb.net/c# code to put the
Can anyone please tell me if Certifying Authorities (CAs) are allowed to make modifications

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.