vendredi 9 août 2019

checksum of a file in javascript

I have a use case where if a user uploads a file and then before it gets uploaded, I want to calculate a checksum on that file within the browser. I found couple of libraries but for files more than 3 GB, the calculation time is too much so was wondering is there any way this can be achieved in JS. I am using Ember as my front end framework.

Referred below article:

https://medium.com/@0xVaccaro/hashing-big-file-with-filereader-js-e0a5c898fc98




Aucun commentaire:

Enregistrer un commentaire