Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function createDiffieHellman
import { createDiffieHellman } from "https://deno.land/std@0.145.0/node/crypto.ts";

Parameters

sizeOrKey: number | string | ArrayBufferView
optional
keyEncoding: number | ArrayBufferView | BinaryToTextEncoding
optional
generator: number | ArrayBufferView | string
optional
generatorEncoding: BinaryToTextEncoding