You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe we now support the full suite defined in the spec & Ed25519 is
going to land before we publish this. Add column for key import since
key derivation functions can import the key but not export.
Copy file name to clipboardExpand all lines: products/workers/src/content/runtime-apis/web-crypto.md
+33-17Lines changed: 33 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,35 +271,51 @@ These methods are all accessed via `crypto.subtle`, which is also [documented in
271
271
272
272
### Supported algorithms
273
273
274
-
Workers implements a subset of the most common cryptographic algorithms, as shown in the following table. We are happy to add support for more algorithms — [let us know about your use case](https://community.cloudflare.com/c/developers/workers).
274
+
Workers implements all operation of the [WebCrypto standard](https://www.w3.org/TR/WebCryptoAPI), as shown in the following table.
275
+
We are happy to add support for more algorithms — [let us know about your use case](https://community.cloudflare.com/c/developers/workers).
276
+
277
+
Acheckmark (✓) indicates that this feature is believed to be fully supported according to the spec.
278
+
[//]: # An x (✘) indicates that this feature is part of the specification but not implemented.
279
+
[//]: # If a feature only implements the operation partially, details are listed.
1.<a name="footnote-1"></a>MD5 is not part of the WebCrypto standard, but is supported in Cloudflare Workers for interacting with legacy systems that require MD5. MD5 is considered a weak algorithm. Do not rely upon MD5for security.
308
+
1.<a name="footnote-1"></a> Non-standard EdDSA is supported for the Ed25519 curve. Sincethis algorithm is non-standard, a few things to keep in mind while using it:
309
+
* Use <Code>NODE-ED25519</Code> as the algorithm and namedCurve parameters.
310
+
* Unlike NodeJS, we will not support "raw"import of private keys.
311
+
* Since this algorithm is non-standard, the implementation may change over time. While we cannot guarantee it at this time, we will strive to maintain backward compatabilityand compatability with NodeJS's behavior.
312
+
Any notable compatability notes will be communicated in release notes and via this developer document.
313
+
2. <a name="footnote-2"></a> MD5 is not part of the WebCrypto standard, but is supported in Cloudflare Workers for interacting with legacy systems that require MD5. MD5 is considered a weak algorithm. Do not rely upon MD5 for security.
298
314
299
315
--------------------------------
300
316
301
317
## See also
302
318
303
319
- [SubtleCrypto documentation on MDN.](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto)
304
320
- [SubtleCrypto documentation as part of the W3C Web Crypto API specification.](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface)
0 commit comments