import * as randomPrimes from "https://deno.land/x/random_primes@v1.3/src/randomPrimes.ts";
This file contains the methods to generate random prime numbers.
Functions
Test if a number is a probable prime number using Miller-Rabin. | |
Calculate the value of base^exponent (mod modulus) for BigInts. | |
Generate a probable random prime number from a bit-length. |