1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/cli/tests/unit_node
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
..
_fs test(ext/node): port _fs tests from std/node (#18262) 2023-03-20 01:10:39 +09:00
testdata perf: use ops for node:crypto ciphers (#17819) 2023-02-20 22:22:28 +05:30
_test_utils.ts test(ext/node): port _fs tests from std/node (#18262) 2023-03-20 01:10:39 +09:00
async_hooks_test.ts chore: add tests for node:async_hooks (#18004) 2023-03-17 18:53:57 +01:00
child_process_test.ts test: ignore flaky node:child_process tests (#18360) 2023-03-22 18:39:13 +00:00
crypto_cipher_test.ts fix(ext/node): make cipher/decipher transform stream (#18408) 2023-03-31 11:43:18 -06:00
crypto_hash.ts fix(ext/node): resource leak in createHmac (#18229) 2023-03-16 22:25:12 +01:00
crypto_key.ts feat(ext/node): implement crypto.createSecretKey (#18413) 2023-03-31 11:43:18 -06:00
fs_test.ts fix(ext/node): implement "ascii" encoding for node:fs writeFile() (#18097) 2023-03-16 12:16:03 +09:00
process_test.ts test: add unit tests from std/node (#17794) 2023-02-16 14:30:14 +01:00
querystring_test.ts test(ext/node): add querystring_test.ts and readline_test.ts (#18256) 2023-03-19 19:49:11 +09:00
readline_test.ts test(ext/node): add querystring_test.ts and readline_test.ts (#18256) 2023-03-19 19:49:11 +09:00
tls_test.ts test(ext/node): add tls_test (#17871) 2023-02-23 12:27:29 +09:00
tty_test.ts test(ext/node): add tty_test and util_test (#17868) 2023-02-23 12:28:19 +09:00
util_test.ts refactor(ext/node): Use Deno.inspect (#17960) 2023-03-23 10:01:07 -04:00
v8_test.ts feat(ext/node): implement node:v8 (#17806) 2023-02-17 18:48:09 +05:30