Tuesday 8 December 2020

How do I compute a digest for a given blob in big size, e.g. 5GB?

I know crypto.subtle.digest could be used to generates a digest of a given ArrayBuffer.

However, when the file is large, e.g. 5GB, I always get this error

Uncaught (in promise) DOMException: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.

click https://jsfiddle.net/kq4s2utf/ to see the full version.

How do I solve this?



from How do I compute a digest for a given blob in big size, e.g. 5GB?

No comments:

Post a Comment