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