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

Function dhGetPublicKey

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

Source from the content-addressed store, hash-verified

201 dhGetPublicKey;
202
203function dhGetPublicKey(encoding) {
204 const key = this[kHandle].getPublicKey();
205 return encode(key, encoding);
206}
207
208
209DiffieHellmanGroup.prototype.getPrivateKey =

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…