Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method DiffieHellman.prototype.computeSecret
Re-export
import { DiffieHellman } from "https://deno.land/std@0.167.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