crypto. subtle. digest('SHA-256', buffer) is the first thing most of us reach for when we need a file hash in JavaScript.

Source: [Dev.to](https://dev.to/gingertool/how-to-hash-large-files-in-the-browser-sha-256-streaming-wasm-1bcd)

Sponsored