Update nodejs data for SubtleCrypto
& CryptoKey
#24980
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The support for the Web Crypto API is:
in v15.0.0, the API has been shipped, but can't access globally, access via the
crypto
module with the alternative namewebcrypto
via nodejs/node#35093in v17.6.0, v16.15.0, the API can be available to global context, but need to be enabled with
--experimental-global-webcrypto
CLI flag via nodejs/node#41938in v19.0.0, the API is available to global context without flags, but can be disabled with
--no-experimental-global-webcrypto
CLI flag via nodejs/node#42083in v23.0.0, the API is marked as not experimental via nodejs/node#52564
See also:
https://nodejs.org/docs/latest/api/globals.html#cryptokey
https://nodejs.org/docs/latest/api/webcrypto.html#class-cryptokey
https://nodejs.org/docs/latest/api/globals.html#subtlecrypto
https://nodejs.org/docs/latest/api/webcrypto.html#class-subtlecrypto
Test results and supporting details
Related issues