Skip to content

Commit 9540d74

Browse files
authored
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>
1 parent 1ad26de commit 9540d74

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

web-crypto/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
Examples of how to use the [Web Crypto API](https://developer.mozilla.org/docs/Web/API/Web_Crypto_API).
44

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.
68

79
* [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

Comments
 (0)