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