Skip to content

Commit

Permalink
feat(crypto): Initial support for SubtleCrypto (awslabs#698)
Browse files Browse the repository at this point in the history
* feat(crypto): Initial support for SubtleCrypto

---------

Co-authored-by: Richard Davison <[email protected]>
Co-authored-by: richarddavison <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2024
1 parent a99f433 commit 5a03d95
Show file tree
Hide file tree
Showing 29 changed files with 4,694 additions and 200 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"AWS_SECRET_ACCESS_KEY": "",
"AWS_SESSION_TOKEN": ""
},
"args": [],
"args": ["index.mjs"],
"cwd": "${workspaceFolder}"
},
{
Expand Down
20 changes: 20 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,26 @@ Everything else inherited from [Uint8Array](https://developer.mozilla.org/en-US/

[randomUUID](https://nodejs.org/api/crypto.html#cryptorandomuuidoptions)

## crypto.subtle

[subtle.decrypt](https://nodejs.org/api/webcrypto.html#subtledecryptalgorithm-key-data)

[subtle.deriveBits](https://nodejs.org/api/webcrypto.html#subtlederivebitsalgorithm-basekey-length)

[subtle.digest](https://nodejs.org/api/webcrypto.html#subtledigestalgorithm-data)

[subtle.encrypt](https://nodejs.org/api/webcrypto.html#subtleencryptalgorithm-key-data)

[subtle.exportKey](hthttps://nodejs.org/api/webcrypto.html#subtleexportkeyformat-key)

[subtle.generateKey](https://nodejs.org/api/webcrypto.html#subtlegeneratekeyalgorithm-extractable-keyusages)

[subtle.importKey](https://nodejs.org/api/webcrypto.html#subtleimportkeyformat-keydata-algorithm-extractable-keyusages)

[subtle.sign](https://nodejs.org/api/webcrypto.html#subtlesignalgorithm-key-data)

[subtle.verify](hthttps://nodejs.org/api/webcrypto.html#subtleverifyalgorithm-key-signature-datah)

## events

[EventEmitter](https://nodejs.org/api/events.html#class-eventemitter)
Expand Down
Loading

0 comments on commit 5a03d95

Please sign in to comment.