1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/ext/node/crypto
Divy Srivastava 9496dfc685
fix(ext/node): implement asymmetric keygen (#18651)
Towards #18455 

This commit implements the keypair generation for asymmetric keys for
the `generateKeyPair` API.

See how key material is managed in this implementation:
https://www.notion.so/denolandinc/node-crypto-design-99fc33f568d24e47a5e4b36002c5325d?pvs=4

Private and public key encoding depend on `KeyObject#export` which is
not implemented. I've also skipped ED448 and X448 since we need a crate
for that in WebCrypto too.
2023-04-19 22:27:34 +05:30
..
cipher.rs fix(ext/node): add aes-128-ecb algorithm support (#18412) 2023-03-25 15:42:07 +09:00
dh.rs fix(ext/node): implement asymmetric keygen (#18651) 2023-04-19 22:27:34 +05:30
digest.rs feat(ext/node): embed std/node into the snapshot (#17724) 2023-02-14 17:38:45 +01:00
mod.rs fix(ext/node): implement asymmetric keygen (#18651) 2023-04-19 22:27:34 +05:30
primes.rs fix(ext/node): implement asymmetric keygen (#18651) 2023-04-19 22:27:34 +05:30
x509.rs chore: fix linting on main (#18633) 2023-04-07 20:26:39 +00:00