Skip to main content
Go to Latest
method ECDH.prototype.setPrivateKey
Re-export
import { ECDH } from "https://deno.land/std@0.147.0/node/crypto.ts";

Parameters

privateKey: ArrayBufferView

Parameters

privateKey: string

Parameters

_privateKey: ArrayBufferView | string
optional
_encoding: BinaryToTextEncoding

Returns

Buffer | string