Module

std/node/crypto.ts

Deno standard library
Go to Latest
function generatePrime
import { generatePrime } from "https://deno.land/std@0.145.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

Parameters

_size: number
optional
_options: unknown
optional
_callback: unknown
import generatePrime
import { generatePrime } from "https://deno.land/std@0.145.0/node/crypto.ts";