1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext
Divy Srivastava 4f7b778700 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-31 11:43:18 -06:00
..
broadcast_channel 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
cache 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
console 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
crypto 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-31 11:43:18 -06:00
ffi 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
flash 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
fs 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
http 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
io 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
kv fix(ext/kv): add missing getMany method (#18410) 2023-03-31 11:43:18 -06:00
napi 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
net 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
node feat(ext/node): implement crypto.createSecretKey (#18413) 2023-03-31 11:43:18 -06:00
tls 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
url 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
web 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
webidl 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
websocket 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
webstorage 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00