Module

std/node/crypto.ts>ECDH.convertKey

Deno standard library
Go to Latest
method ECDH.convertKey
import { ECDH } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";

Parameters

_curve: string
optional
_inputEncoding: BinaryToTextEncoding
optional
_outputEncoding:
| "latin1"
| "hex"
| "base64"
| "base64url"
optional
_format: "uncompressed" | "compressed" | "hybrid"

Returns

Buffer | string