Skip to main content
Module

x/inthash/prime.ts>randomPrime

Integer Hashing Library based on Knuth's multiplicative hashing method for Javascript(& Typescript).
Go to Latest
function randomPrime
import { randomPrime } from "https://deno.land/x/inthash@3.0.1/prime.ts";

Parameters

bits: number

Returns

bigint