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

Parameters

privateKey: ArrayBufferView

Parameters

privateKey: string

Parameters

_privateKey: ArrayBufferView | string
optional
_encoding: BinaryToTextEncoding

Returns

Buffer | string