Skip to content

Commit

Permalink
Merge pull request #42 from teramotodaiki/patch-1
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
pvorb committed Nov 6, 2021
2 parents 2e5fd4a + 3de3e03 commit e0ead20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
.then(buffer => {
console.log(buffer);
var now = performance.now();
var hash = MD5(buffer);
var typedArray = new Int32Array(buffer, 0, buffer.byteLength / 4);
var hash = MD5(typedArray);
var after = performance.now() - now;
output.innerHTML = `
file: ${file.name}
Expand Down

0 comments on commit e0ead20

Please sign in to comment.