title: Getting a File's MD5 Checksum in Javascript
body: <p>How to calculate the md5 for a specific file in a Javascript?</p>
  <pre><code> &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;&lt;/title&gt;
          &lt;script src=&quot;http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js&quot;&gt;&lt;/script&gt;
      &lt;script&gt;
      var hash = CryptoJS.MD5(&quot;c23a340c2299871541d8a9d2e47bd7d5.wmv&quot;);
      alert(hash);
      &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
      
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>This is a sample code so in this we can get the MD5 for a sorting; only I found like these examples several but I want it for a specific file like the below link will give the md5 for a file:
  <a href="https://md5file.com/calculator" rel="nofollow noreferrer">This link will calculate the md5 for a file so like this I want the Javascript to calculate the md5 for a file</a></p>