title: Hashing an Image in Javascript
body: <p>I have currently been trying to hash an image from my browser using javascript.  However, I've been hashing a string of the dataURL or the pixel data that I've been retrieving from the canvas element in HTML.  This is obviously not the same as hashing the raw data of the image which is what I would like to do.  </p>
  
  <p>For example the data that would be used for the same image in the php hash file function.</p>
  
  <p>Does anybody know how I can access this raw image data using javascript to get a hash value that would be equivalent to the result hash I get from PHP hash_file($file)?</p>
  
  <p>Thanks!</p>