Skip to main content
Module

x/random_primes/deps.ts

Generate random prime numbers with Deno and the Miller-Rabin test.
Latest
import * as randomPrimes from "https://deno.land/x/random_primes@v1.3/deps.ts";

Functions

Generate a random BigInt given a bit-length

Generate a random bigint from within a provided range such that min < random < max