Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method ECDH.prototype.generateKeys
Re-export
import { ECDH } from "https://deno.land/std@0.143.0/node/crypto.ts";

Returns

Buffer

Parameters

optional
_encoding: BinaryToTextEncoding
optional
_format: ECDHKeyFormat

Returns

Buffer | string