Skip to main content
Go to Latest
method DiffieHellman.prototype.setPrivateKey
Re-export
import { DiffieHellman } from "https://deno.land/std@0.145.0/node/crypto.ts";

Parameters

privateKey: ArrayBufferView

Parameters

privateKey: string
encoding: BufferEncoding

Parameters

_privateKey: ArrayBufferView | string
optional
_encoding: BufferEncoding