1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext
Divy Srivastava d740a9e43d
feat(ext/node): implement crypto.createSecretKey (#18413)
This commit adds the `crypto.createSecretKey` API.

Key management: This follows the same approach as our WebCrypto
CryptoKey impl where we use WeakMap for storing key material and a
handle is passed around, such that (only internal) JS can access the key
material and we don't have to explicitly close a Rust resource.

As a result, `createHmac` now accepts a secret KeyObject.

Closes https://github.com/denoland/deno/issues/17844
2023-03-24 14:13:26 +00:00
..
broadcast_channel chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
cache chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
console chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
crypto chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
ffi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
flash chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
fs chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
http chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
io chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
kv fix(ext/kv): add missing getMany method (#18410) 2023-03-24 20:06:27 +08:00
napi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
net chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
node feat(ext/node): implement crypto.createSecretKey (#18413) 2023-03-24 14:13:26 +00:00
tls chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
url chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
web chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
webidl chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
websocket chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
webstorage chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00