Support webcrypto hash algorithm arguments in node.js crypto hash apis #56464
Labels
crypto
Issues and PRs related to the crypto subsystem.
feature request
Issues that request new features to be added to Node.js.
webcrypto
What is the problem this feature will solve?
In Node.js, we would do
crypto.createHash('sha256')
... in web crypto we can do eithercrypto.subtle.digest('sha256', ...)
orcrypto.subtle.digest({ name: 'sha256' }, ...)
(string or object). For consistency, it would be helpful to be able to support the webcrypto style arguments in the Node.js APIs also..What is the feature you are proposing to solve the problem?
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: