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

Function DiffieHellmanGroup

lib/internal/crypto/diffiehellman.js:143–153  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

141
142
143function DiffieHellmanGroup(name) {
144 if (!(this instanceof DiffieHellmanGroup))
145 return new DiffieHellmanGroup(name);
146 this[kHandle] = new _DiffieHellmanGroup(name);
147 ObjectDefineProperty(this, 'verifyError', {
148 __proto__: null,
149 enumerable: true,
150 value: this[kHandle].verifyError,
151 writable: false,
152 });
153}
154
155
156DiffieHellmanGroup.prototype.generateKeys =

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected