method DiffieHellman.prototype.getPrivateKey
Jump to headingDiffieHellman.prototype.getPrivateKey(): BufferReturns the Diffie-Hellman private key in the specified encoding.
If encoding is provided a
string is returned; otherwise a Buffer is returned.
Return Type Jump to heading
BufferJump to headingDiffieHellman.prototype.getPrivateKey(encoding: BinaryToTextEncoding): stringParameters Jump to heading
Jump to headingencoding: BinaryToTextEncodingReturn Type Jump to heading
string