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