If encoding is specified, a string is returned; otherwise a Buffer is returned.
method
crypto.ECDH.getPrivateKey
@returns
The EC Diffie-Hellman in the specified encoding.
): string;
If encoding is specified, a string is returned; otherwise a Buffer is returned.
@param encoding
The encoding of the return value.
@returns
The EC Diffie-Hellman in the specified encoding.