This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Though the StreamsAPI is referenced in Informative Reference, the functions under window.crypto.subtle are specified with only one-shot data inputs. Use-cases: Data may not be available at once. Data may be too huge to keep in memory. For encrypt()/decrypt() it would make sense to have a streaming readable output if the input is a readable stream.
It would make sense for other APIs as well like digest/sign/verify. I would love to be able to use a built-in browser API like this for validating large files client-side prior to upload to reduce failure rates of similar validations server-side.
This has long been a desired goal, however I do not believe that there is any current effort to do this. Propose the this be resolved as LATER. This would allow for a version 2 spec to pick the issue up.
Moved to https://github.com/w3c/webcrypto/issues/73