1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00
denoland-deno/ext
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
..
broadcast_channel 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
cache 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
console 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
crypto 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-31 11:43:18 -06:00
ffi 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
flash 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
fs chore: Improving FS Error Message for op_realpath_sync and op_realpath_async (#18404) 2023-03-31 11:43:18 -06:00
http 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
io 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
kv chore(ext/kv): add limits (#18415) 2023-03-31 11:43:18 -06:00
napi 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
net 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
node feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-31 11:43:19 -06:00
tls 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
url 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
web fix(streams): add support Float64Array to ReadableStreamByobReader (#18188) 2023-03-31 11:43:18 -06:00
webidl 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
websocket 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
webstorage 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00