Go to Latest
method DiffieHellman.prototype.setPublicKey
import { DiffieHellman } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";

Parameters

publicKey: ArrayBufferView

Parameters

publicKey: string
encoding: BufferEncoding