method DiffieHellman.prototype.getPrivateKey
#DiffieHellman.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 #
Buffer#DiffieHellman.prototype.getPrivateKey(encoding: BinaryToTextEncoding): stringParameters #
#encoding: BinaryToTextEncodingReturn Type #
string