method ECDH.prototype.getPrivateKey
Overload 1
#ECDH.prototype.getPrivateKey(): BufferIf encoding is specified, a string is returned; otherwise a Buffer is
returned.
Return Type #
Buffer The EC Diffie-Hellman in the specified encoding.
Overload 2
#ECDH.prototype.getPrivateKey(encoding: BinaryToTextEncoding): stringParameters #
#encoding: BinaryToTextEncoding Return Type #
string