mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
d740a9e43d
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 |
||
---|---|---|
.. | ||
_fs | ||
testdata | ||
_test_utils.ts | ||
async_hooks_test.ts | ||
child_process_test.ts | ||
crypto_cipher_test.ts | ||
crypto_hash.ts | ||
crypto_key.ts | ||
fs_test.ts | ||
process_test.ts | ||
querystring_test.ts | ||
readline_test.ts | ||
tls_test.ts | ||
tty_test.ts | ||
util_test.ts | ||
v8_test.ts |