Dylan Conway
7e8e559fce
Pass test-crypto-keygen-* tests ( #19040 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dave Caruso <me@paperdave.net >
2025-04-19 00:25:30 -07:00
Ciro Spaciari
4ccf5c03dc
fix(crypto) fix setAAD undefined checks ( #18905 )
2025-04-09 16:50:08 -07:00
Dylan Conway
0efbbd3870
fix(crypto): remove verifyError from DiffieHellman.prototype ( #18710 )
2025-04-02 14:24:36 -07:00
Ciro Spaciari
13068395c0
fix(crypto) check for undefined ( #18702 )
2025-04-01 12:36:02 -07:00
Dylan Conway
8ee962d79f
Fix #14881 ( #18483 )
2025-03-25 20:51:36 -07:00
Dylan Conway
ae19729a72
node:crypto: native Hmac and Hash (#17920 )
2025-03-06 23:52:10 -08:00
Jarred Sumner
8c2c6fe548
Add x25519 support to generateKeyPair ( #16725 )
...
Co-authored-by: João Lucas de Oliveira Lopes <55464917+jlucaso1@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-01-24 18:49:05 -08:00
chloe caruso
834ad11d48
get node:fs tests passing part 1 ( #16270 )
2025-01-14 20:53:02 -08:00
Dylan Conway
55473cb64a
fix(node:crypto): use options from createHash(alg, options) ( #15547 )
2024-12-03 12:32:41 -08:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Meghan Denny
c6187e3e3a
correct node:crypto.randomInt behavior and accept a callback ( #11505 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 18:24:26 -07:00
Meghan Denny
1c99cfebeb
crypto: fix digestToBytes and add tests ( #11234 )
2024-05-21 13:51:00 -07:00
Jarred Sumner
47e7e004b1
Remove @known-failing-on-windows for tests which are no longer failing on windows
2024-01-24 21:03:32 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Ciro Spaciari
2fbf73535c
fix createDecipheriv ( #3680 )
...
* fix createDecipheriv
* fix createDecipheriv iv and password validations
2023-07-19 16:01:36 -07:00
Jarred Sumner
7917ebd58f
Fixes base64url encoding for crypto ( #3654 )
...
* Fixes base64url encoding for crypto
* 🍏
* Update nodejs-apis.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-07-16 22:42:19 -07:00
Jarred Sumner
963d4311e6
Fixes #3530 ( #3587 )
...
* Fixes #3530
* Handle OOM
* Add test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-07-09 22:36:24 -07:00
Silas Rech
16598555f1
.randomInt() support (#3357 )
...
* Add initial .randomInt() fallback
* Add basic .randomInt() test
* Attempt creating a native implementation
* Switch to JSC.wrapWithHasContainer
* Switch to .jsNumberFromUint64(), it seems like using just .jsNumber() causes the number to overflow in some cases
* Regenerate out folder after rebasing
2023-06-26 15:35:48 -07:00
Jarred Sumner
b93bdbb124
Add test
2023-06-13 07:29:02 -07:00
Jarred Sumner
3ee22065f0
💅
2023-04-27 07:51:30 -07:00
Silver
0060e49923
fix: make node:crypto Hash.copy work correctly ( #2761 )
...
This commit will also:
- add a CryptoHasher.copy function
- make CryptoHasher.digest reset the hasher so it can be reused
Resolves #2651
2023-04-27 07:45:32 -07:00
Jarred Sumner
dc55e11714
Keep the node crypt otest
2023-04-21 07:25:51 -07:00
Jarred Sumner
613bb4822e
Revert "use a lazyily initialized stream for node:crypto createHash ( #2652 )"
...
This reverts commit 3a2fd65f20 .
2023-04-21 07:18:32 -07:00
dave caruso
3a2fd65f20
use a lazyily initialized stream for node:crypto createHash ( #2652 )
...
* lazy hash
* finish up crypto stuff
* remove lockfiles
* ok
* add pipe test
* update this lockfile
* remove unrelated crypto benchmark from this file
2023-04-13 21:55:01 -07:00
Jarred Sumner
e16053c39e
"binary" is an alias of "latin1"
...
Fixes https://github.com/oven-sh/bun/issues/2110
2023-03-07 22:59:29 -08:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00