mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
10012c2fe3
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. |
||
---|---|---|
.. | ||
crypto | ||
polyfills | ||
zlib | ||
Cargo.toml | ||
errors.rs | ||
idna.rs | ||
lib.rs | ||
ops.rs | ||
package_json.rs | ||
path.rs | ||
polyfill.rs | ||
README.md | ||
resolution.rs | ||
v8.rs | ||
winerror.rs |
deno_node
require
and other node related functionality for Deno.