deno/tests/unit_node/crypto
gitstart-app[bot] 6314c3c46d
Some checks failed
ci / pre-build (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
fix(ext/node): crypto.hkdfSync returns wrong result for non-Uint8Array TypedArray inputs (#30463)
The original HKDF implementation incorrectly handled
TypedArrays by converting them through the toBuf() function, which only
handles strings and Buffers. This caused TypedArrays to be processed
incorrectly, losing their actual byte representation.

Closes https://github.com/denoland/deno/issues/29913

---------

Co-authored-by: gitstart-app[bot] <80938352+gitstart-app[bot]@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-08-23 11:56:19 +02:00
..
testdata feat(ext/node): rewrite crypto keys (#24463) 2024-08-07 08:43:58 +02:00
crypto_cipher_gcm_test.ts fix(ext/node): fix panic when invalid AES GCM key size (#27818) 2025-01-27 16:32:25 +05:30
crypto_cipher_test.ts fix(ext/node): support KeyObject in publicEncrypt/privateDecrypt (#29798) 2025-06-19 09:48:29 +09:00
crypto_hash_test.ts fix(ext/node): alias shake-128 and shake-256 hash algorithms (#28451) 2025-04-10 07:58:44 +00:00
crypto_hkdf_test.ts fix(ext/node): crypto.hkdfSync returns wrong result for non-Uint8Array TypedArray inputs (#30463) 2025-08-23 11:56:19 +02:00
crypto_import_export.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
crypto_key_test.ts fix(ext/node): fix prototype of asymmetricKeyDetails of AsymmetricKeyObject (#29576) 2025-06-03 21:45:28 +09:00
crypto_misc_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
crypto_pbkdf2_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
crypto_scrypt_test.ts fix(ext/node): scrypt panic when log_n > 64 (#27816) 2025-01-27 09:12:51 +05:30
crypto_sign_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
ec_private_secp256r1.pem chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
gcmEncryptExtIV128.json fix(ext/node): add support of any length IV for aes-(128|256)-gcm ciphers (#27476) 2024-12-27 17:46:01 +09:00
gcmEncryptExtIV256.json fix(ext/node): add support of any length IV for aes-(128|256)-gcm ciphers (#27476) 2024-12-27 17:46:01 +09:00
generate_fixture.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
generate_keys.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00