News for hackers. Stuff that matters.
Re:Show HN: Calculate MD5, SHA-1 in your browser using HTML5... by thirsteh on Sunday September 18, 2011 @06:00PM (#3011392)
This could be useful to validate large files after downloading them, e.g. ISO files for Linux distributions--however that goes out the window with the 10MB size limit.

Why the limit? Does it take too long to compute hashes for larger files?

Re:Show HN: Calculate MD5, SHA-1 in your browser using HTML5... by chadkeck on Sunday September 18, 2011 @06:03PM (#3011399)
Absolutely agreed. It is due to the immaturity of the browser implementations, which will hopefully be fixed soon.

It regularly crashes(!) Chrome on "large" files; thus, the limitation.

Re:Show HN: Calculate MD5, SHA-1 in your browser using HTML5... by antimatter15 on Sunday September 18, 2011 @06:28PM (#3011462)
You could split up the file chunks by reading in sections (blob.webkitSlice and mozSlice) as array buffers and sending them to a worker object. Then you could process those in chunks with WebWorkers (or WebGL) and have a progress indicator.