title: JavaScript CRC32
body: <p>I'm looking for a <strong>modern</strong> JavaScript implementation of CRC32.</p>
  
  <p><a href="https://stackoverflow.com/questions/8353134/javascript-crc32-function-and-php-crc32-not-matching-for-utf8/8419366#8419366">This implementation</a>, which may have originated from <a href="http://www.webtoolkit.info/javascript-crc32.html" rel="noreferrer">here</a>, and is now here, <a href="http://phpjs.org/functions/crc32/" rel="noreferrer">there</a> and <a href="http://noteslog.com/post/crc32-for-javascript/" rel="noreferrer">everywhere</a>, is unacceptable because it's slow (500ms/MB), and depends on over 2KB of space delimited table, accessed using substr. Yuck!</p>
  
  <p>There appears to be a few variations of CRC32, so I need to match this output:</p>
  
  <pre><code>mysql&gt; SELECT CRC32('abcde');
  &gt; 2240272485
  </code></pre>
  
  <p>Function doesn't actually need to accept a string however, since I'm working with byte arrays.</p>