Live data from Hacker News

Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

browserhash.com

1–10 of 26 posts

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#3
post #2

Why would I want this? By this I mean, what's an end-to-end use case for it? In which a user wants a SHA hash of a file, uses this thing to get it, and then does something with the hash.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser?

Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#4
post #3
post #2

Why would I want this? By this I mean, what's an end-to-end use case for it? In which a user wants a SHA hash of a file, uses this thing to get it, and then does something with the hash.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

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 and WebWorkers

#5
post #4
post #3

Earlier quoted context omitted.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

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?

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 and WebWorkers

#6
post #3
post #2

Why would I want this? By this I mean, what's an end-to-end use case for it? In which a user wants a SHA hash of a file, uses this thing to get it, and then does something with the hash.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

You aren't worried that doing this via Javascript will make it insecure for that use? In almost the same manner as uploading your file to a server (simply to get the hash) would be?

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#7
post #6
post #3

Earlier quoted context omitted.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

You aren't worried that doing this via Javascript will make it insecure for that use? In almost the same manner as uploading your file to a server (simply to get the hash) would be?

I dont' really understand what you're saying here. Other services that calculate the digest of a file online require you to upload your file to the service/site where you don't know what they will do with it. With Browser Hash, not one bit of your file leaves your computer or travels over the network.

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#8
post #3
post #2

Why would I want this? By this I mean, what's an end-to-end use case for it? In which a user wants a SHA hash of a file, uses this thing to get it, and then does something with the hash.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

In this world where everything is done through a browser, where would I drop my files from?

On a serious note, can one drop an attachment from say gmail onto that?

And dear someone, please tell me that sha1sum & friends exists for Windows!

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#9
post #7
post #6

Earlier quoted context omitted.

You aren't worried that doing this via Javascript will make it insecure for that use? In almost the same manner as uploading your file to a server (simply to get the hash) would be?

I dont' really understand what you're saying here. Other services that calculate the digest of a file online require you to upload your file to the service/site where you don't know what they will do with it. With Browser Hash, not one bit of your file leaves your computer or travels over the network.

I think he means that the JavaScript that computes the hash can be MITM'd.

Re: Show HN: Calculate MD5, SHA-1 in your browser using HTML5 and WebWorkers

#10
post #8
post #3

Earlier quoted context omitted.

Hey Thomas, The itch I was scratching with this tool is that there isn't a built-in way in Windows to get a digest of a file, so... what better way than doing it in the browser? Also, I'm the paranoid type and don't like the idea of uploading a file to someone else's server if I want the digest.

In this world where everything is done through a browser, where would I drop my files from? On a serious note, can one drop an attachment from say gmail onto that? And dear someone, please tell me that sha1sum & friends exists for Windows!

1. Haha, I agree that files will eventually become less accesible for the majority of computer users. Something like how the iPad handles projects/songs/documents instead of the generic "file".

2. Due to HTML5 limitations, you will need to drop the file from your local storage onto the browser window.

3. Yes you can get digests of a file on Windows, but it doesn't come with a built-in program.

Post reply on HN