Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method ECDH.prototype.computeSecret
import { ECDH } from "https://deno.land/std@0.167.0/node/internal/crypto/diffiehellman.ts";

Parameters

otherPublicKey: ArrayBufferView

Parameters

otherPublicKey: string
inputEncoding: BinaryToTextEncoding

Parameters

otherPublicKey: ArrayBufferView
outputEncoding: BinaryToTextEncoding

Returns

string

Parameters

otherPublicKey: string
inputEncoding: BinaryToTextEncoding
outputEncoding: BinaryToTextEncoding

Returns

string