1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/tests
Divy Srivastava e40f44f79f 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-31 11:43:19 -06:00
..
integration chore: add test for Linux shared libraries (#18461) 2023-03-31 11:43:19 -06:00
node_compat feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-31 11:43:19 -06:00
testdata feat(test): print pending tests on sigint (#18246) 2023-03-31 11:43:18 -06:00
unit chore(ext/kv): add limits (#18415) 2023-03-31 11:43:18 -06:00
unit_node chore(ext/node): port pbkdf2 to Rust (#18470) 2023-03-31 11:43:19 -06:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00