0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
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
..
integration chore: add test for Linux shared libraries (#18461) 2023-03-28 09:00:19 +00:00
node_compat feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
testdata feat(bench): add --no-run flag (#18433) 2023-03-26 14:55:58 +00:00
unit chore(ext/kv): add limits (#18415) 2023-03-25 15:29:36 +08:00
unit_node chore(ext/node): port pbkdf2 to Rust (#18470) 2023-03-28 09:40:56 +00:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00