deno/ext/node/polyfills/internal/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
..
_keys.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_randomBytes.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_randomFill.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_randomInt.ts fix(ext/node): avoid panic when crypto.randomInt has no arguments (#30314) 2025-08-05 17:09:39 +02:00
certificate.ts fix(ext/node): implement Certificate API (#29828) 2025-06-23 02:34:44 -07:00
cipher.ts fix(ext/node): support KeyObject in publicEncrypt/privateDecrypt (#29798) 2025-06-19 09:48:29 +09:00
constants.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
diffiehellman.ts fix(ext/node): fix error type in DiffieHellman constructor (#29721) 2025-06-17 11:43:26 +09:00
hash.ts fix(ext/node): fix oneshot hash validation (#29661) 2025-06-13 10:12:10 +05:30
hkdf.ts fix(ext/node): crypto.hkdfSync returns wrong result for non-Uint8Array TypedArray inputs (#30463) 2025-08-23 11:56:19 +02:00
keygen.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
keys.ts fix(ext/node): implement Certificate API (#29828) 2025-06-23 02:34:44 -07:00
pbkdf2.ts fix(ext/node): Fix crypto.pbkdf2 compat (#29738) 2025-06-13 09:10:41 -07:00
random.ts fix(ext/node): validate prime bigint candidate (#29653) 2025-06-08 22:45:20 -07:00
scrypt.ts fix(ext/node): improve scrypt support (#29773) 2025-06-18 09:50:37 +09:00
sig.ts refactor(ext/node): use FastBuffer in internal code (#29700) 2025-06-11 21:13:17 +09:00
types.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
util.ts fix(ext/node): internal getOpenSSLSecLevel() for tests (#29657) 2025-06-08 21:07:14 +05:30
x509.ts fix(ext/node): implement X509Certificate#checkHost (#27821) 2025-01-27 16:33:03 +05:30