-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for hash files more than 512Mb #3
Comments
This would be a useful feature in CyberChef as we improve our support for large files. It would also be useful if your hashers could accept data from an ArrayBuffer instead of having to convert to a string first as this increases processing time. |
When I tested ArrayBuffers was slowly than Arrays and Arrays much slowly than strings. |
Thanks for the swift response. I would argue that the best way to read a large binary file into a browser is by using |
I use readAsBinaryString for example https://github.com/nf404/crypto-api/blob/master/example/hasher-file.js |
Now hashers support hashing only 32bit message length in bits.
This is about 512Mb. After that it calculates wrong hash.
I'm ignoring this, but now https://nf404.github.io/crypto-api/example/hasher-file.html calculates 1Mb per second on my core I5, so 600Mb calculates about 10min. This may be not so rare case to calculate hash from 1Gb file in browser )))
The text was updated successfully, but these errors were encountered: