1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
cache chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
console chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
crypto chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
ffi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
flash chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
fs chore: Improving FS Error Message for op_realpath_sync and op_realpath_async (#18404) 2023-03-26 12:20:51 +03:00
http chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
io chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
kv chore(ext/kv): add limits (#18415) 2023-03-25 15:29:36 +08:00
napi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
net chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
node feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
tls chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
url chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
web fix(streams): add support Float64Array to ReadableStreamByobReader (#18188) 2023-03-27 15:28:52 +02:00
webidl chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
websocket chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
webstorage chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00