Module

std/node/crypto.ts>generatePrime

Deno standard library
Go to Latest
function generatePrime
import { generatePrime } from "https://deno.land/std@0.166.0/node/crypto.ts";

Parameters

size: number
callback: (err: Error | null, prime: ArrayBuffer) => void

Parameters

size: number
callback: (err: Error | null, prime: bigint) => void

Parameters

size: number
callback: (err: Error | null, prime: ArrayBuffer) => void

Parameters

size: number
callback: (err: Error | null, prime: ArrayBuffer | bigint) => void
import generatePrime
import { generatePrime } from "https://deno.land/std@0.166.0/node/crypto.ts";