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

Function dhGetPrime

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

Source from the content-addressed store, hash-verified

181 dhGetPrime;
182
183function dhGetPrime(encoding) {
184 const prime = this[kHandle].getPrime();
185 return encode(prime, encoding);
186}
187
188
189DiffieHellmanGroup.prototype.getGenerator =

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…