diffieHellman.setPublicKey()

diffieHellman.setPublicKey(public_key[, encoding])

Sets the Diffie-Hellman public key. If the encoding argument is provided and is either 'binary', 'hex' or 'base64', public_key is expected to be a string. If no encoding is provided, public_key is expected to be a Buffer.

doc_Nodejs
2016-04-30 04:38:49
Comments
Leave a Comment

Please login to continue.