Go to Latest
method DiffieHellman.prototype.computeSecret
import { DiffieHellman } 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