ecdh.getPrivateKey([encoding])


如果指定了 encoding,则返回字符串;否则返回 Buffer

If encoding is specified, a string is returned; otherwise a Buffer is returned.