Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement iterator/async iterator support for web crypto digest #56463

Open
jasnell opened this issue Jan 4, 2025 · 0 comments
Open

Implement iterator/async iterator support for web crypto digest #56463

jasnell opened this issue Jan 4, 2025 · 0 comments
Labels
crypto Issues and PRs related to the crypto subsystem. feature request Issues that request new features to be added to Node.js. webcrypto

Comments

@jasnell
Copy link
Member

jasnell commented Jan 4, 2025

What is the problem this feature will solve?

Per w3c/webcrypto#390 ...

The crypto.subtle.digest(...) method will soon allow passing both an iterator or async iterator in addition to a BufferSource. The implementation will need to be updated to support it. Eventually crypto.subtle.sign(...) and crypto.subtle.verify(...) will also support iterator inputs.

What is the feature you are proposing to solve the problem?

Modifying the web crypto impl to support streaming inputs.

What alternatives have you considered?

No response

@jasnell jasnell added the feature request Issues that request new features to be added to Node.js. label Jan 4, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Jan 4, 2025
@jasnell jasnell moved this from Awaiting Triage to Triaged in Node.js feature requests Jan 4, 2025
@jasnell jasnell added the crypto Issues and PRs related to the crypto subsystem. label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. feature request Issues that request new features to be added to Node.js. webcrypto
Projects
Development

No branches or pull requests

1 participant