Updating digest with web crypto
For some context, I'm updating some code that was importing from
I've run up against a case where I'm not really sure what I should do to move forward. The code looks something like this:
Is this possible to handle in the web crypto standard? I'm pretty sure I should just be able to aggregate the chunks into one massive uint8array or something but I feel like there is no reason to buffer the whole thing into memory.
Any ideas?
std/hash (specifically std/hash/sha256) to use std/crypto since the hash submodule is long gone.I've run up against a case where I'm not really sure what I should do to move forward. The code looks something like this:
Is this possible to handle in the web crypto standard? I'm pretty sure I should just be able to aggregate the chunks into one massive uint8array or something but I feel like there is no reason to buffer the whole thing into memory.
Any ideas?
