1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext/node
Divy Srivastava 10012c2fe3
feat(ext/node): add crypto.checkPrime API (#18465)
Towards #18455 

This commit implements `checkPrimeSync` and `checkPrime` in node:crypto
using the Miller-Rabin primality test (fun fact: it actually is a test
for composite numbers)

It first compares the candidate against many known small primes and if
not, proceeds to run the Miller-Rabin primality test.
http://nickle.org/examples/miller-rabin.5c used as reference
implementation.
2023-03-28 10:56:38 +00:00
..
crypto feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
polyfills feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
zlib feat: port node:zlib to rust (#18291) 2023-03-27 16:03:07 +00:00
Cargo.toml feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
errors.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
idna.rs refactor: use ops for idna & punycode (#17817) 2023-02-20 18:47:42 +01:00
lib.rs feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
ops.rs refactor(core): pass cwd explicitly to resolve_path (#18092) 2023-03-13 18:50:23 +01:00
package_json.rs feat(npm): support bare specifiers from package.json in more subcommands and language server (#17891) 2023-02-23 10:58:10 -05:00
path.rs chore(ext/node): fix variable name (#17948) 2023-02-27 21:26:02 +01:00
polyfill.rs refactor(ext/node): untangle dependencies between js files (#18284) 2023-03-20 14:05:13 -04:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs refactor: simplify to string calls (#18011) 2023-03-04 08:05:07 -04:00
v8.rs feat(ext/node): implement node:v8 (#17806) 2023-02-17 18:48:09 +05:30
winerror.rs perf(ext/node): move winerror binding to rust (#17792) 2023-02-16 19:19:32 +05:30

deno_node

require and other node related functionality for Deno.