Here are several related uses.

Inline uses hashing to know when it has to recompile and relink libraries, versus when it has already done so and can use the old version. This means that you only pay for compilation once.

Rsync uses it to identify when and where files have changed without having to send the whole file across the wire. Instead it sends md5 hashes back and forth, and when they differ it starts sending hashes of part of the file doing a binary search to generate a diff which it can then use to transfer a patch with which it updates the file.

In a website you might use it to generate a handle representing a complex data structure so that you can store the user information locally and just pass a small amount of information back and forth to the client. An example of why you would want to do this is when you have a gif whose display requires a large amount of form data to put together. You can't pass all of the information in the URL for the gif. You can pass the appropriate MD5 hash.


In reply to Re (tilly) 2: What is MD5 Hashing and Why is it Important? by tilly
in thread What is MD5 Hashing and Why is it Important? by princepawn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.