deno.com
method ECDH.prototype.getPrivateKey
#ECDH.prototype.getPrivateKey(): Buffer

If encoding is specified, a string is returned; otherwise a Buffer is returned.

Return Type #

Buffer

The EC Diffie-Hellman in the specified encoding.

#ECDH.prototype.getPrivateKey(encoding: BinaryToTextEncoding): string

Parameters #

Return Type #

string