diffieHellman.setPrivateKey(private_key[, encoding])
Sets the Diffie-Hellman private key. If the encoding
argument is provided and is either 'binary'
, 'hex'
, or 'base64'
, private_key
is expected to be a string. If no encoding
is provided, private_key
is expected to be a Buffer
.
Please login to continue.