Module

std/node/crypto.ts>generatePrime

Deno standard library
Go to Latest
function generatePrime
import { generatePrime } from "https://dotland.deno.dev/std@0.177.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://dotland.deno.dev/std@0.177.0/node/crypto.ts";