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
Add links to all Web Crypto API examples - Fixes#40 (#352)
Adds MDN documentation links for all 8 Web Crypto API examples,
completing the 6-year-old request in issue #40.
Changes:
- Added link to derive-bits example (SubtleCrypto.deriveBits)
- Added link to derive-key example (SubtleCrypto.deriveKey)
- Added link to export-key example (SubtleCrypto.exportKey)
- Added link to import-key example (SubtleCrypto.importKey)
- Added link to unwrap-key example (SubtleCrypto.unwrapKey)
- Added link to wrap-key example (SubtleCrypto.wrapKey)
- Kept existing links for encrypt-decrypt and sign-verify
All examples now link to their corresponding MDN API documentation pages,
making it easier for developers to understand and use the Web Crypto API.
Fixes#40
Co-authored-by: 0xsatoshi99 <0xsatoshi99@users.noreply.github.com>
Copy file name to clipboardExpand all lines: web-crypto/README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,18 @@
2
2
3
3
Examples of how to use the [Web Crypto API](https://developer.mozilla.org/docs/Web/API/Web_Crypto_API).
4
4
5
-
*[sign/verify](sign-verify/index.html): examples showing how to use the [`SubtleCrypto.sign()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign) and [`SubtleCrypto.verify()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify) APIs.
5
+
*[derive-bits](derive-bits/index.html): examples showing how to use the [`SubtleCrypto.deriveBits()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) API.
6
+
7
+
*[derive-key](derive-key/index.html): examples showing how to use the [`SubtleCrypto.deriveKey()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) API.
6
8
7
9
*[encrypt/decrypt](encrypt-decrypt/index.html): examples showing how to use the [`SubtleCrypto.encrypt()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt) and [`SubtleCrypto.decrypt()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) APIs.
10
+
11
+
*[export-key](export-key/index.html): examples showing how to use the [`SubtleCrypto.exportKey()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey) API.
12
+
13
+
*[import-key](import-key/index.html): examples showing how to use the [`SubtleCrypto.importKey()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) API.
14
+
15
+
*[sign/verify](sign-verify/index.html): examples showing how to use the [`SubtleCrypto.sign()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign) and [`SubtleCrypto.verify()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify) APIs.
16
+
17
+
*[unwrap-key](unwrap-key/index.html): examples showing how to use the [`SubtleCrypto.unwrapKey()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) API.
18
+
19
+
*[wrap-key](wrap-key/index.html): examples showing how to use the [`SubtleCrypto.wrapKey()`](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey) API.
0 commit comments