encoding <string> 返回值的 字符编码。
encoding
¥encoding <string> The encoding of the return value.
返回:<Buffer> | <string>
¥Returns: <Buffer> | <string>
返回指定 encoding 中的 Diffie-Hellman 私钥。如果提供了 encoding,则返回一个字符串;否则返回 Buffer。
Buffer
¥Returns the Diffie-Hellman private key in the specified encoding. If encoding is provided a string is returned; otherwise a Buffer is returned.