Skip to content

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

Description

@jasnell

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.feature requestIssues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.webcryptoIssues and PRs related to the Web Crypto API.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions