MCPcopy Index your code
hub / github.com/nodejs/node / dhGetPrivateKey

Function dhGetPrivateKey

lib/internal/crypto/diffiehellman.js:213–216  ·  view source on GitHub ↗
(encoding)

Source from the content-addressed store, hash-verified

211 dhGetPrivateKey;
212
213function dhGetPrivateKey(encoding) {
214 const key = this[kHandle].getPrivateKey();
215 return encode(key, encoding);
216}
217
218
219DiffieHellman.prototype.setPublicKey = function setPublicKey(key, encoding) {

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…