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

Parameters

otherPublicKey: ArrayBufferView

Returns

Buffer

Parameters

otherPublicKey: string
inputEncoding: BinaryToTextEncoding

Returns

Buffer

Parameters

otherPublicKey: ArrayBufferView
outputEncoding: BinaryToTextEncoding

Returns

string

Parameters

otherPublicKey: string
inputEncoding: BinaryToTextEncoding
outputEncoding: BinaryToTextEncoding

Returns

string