Searched refs:getGenerator (Results 1 – 7 of 7) sorted by relevance
127 assert.deepStrictEqual(dh1.getGenerator(), dh3.getGenerator());141 assert.deepStrictEqual(dh1.getGenerator(), dh4.getGenerator());
120 const dh = crypto.createDiffieHellman(group.getPrime(), group.getGenerator());
604 assert.strictEqual(dh1.getGenerator(), dh3.getGenerator());
151 DiffieHellmanGroup.prototype.getGenerator = method in DiffieHellmanGroup152 DiffieHellman.prototype.getGenerator = method in DiffieHellman156 const generator = this[kHandle].getGenerator();
48 assert.strictEqual(group.getGenerator('hex'), '02');
54 assert.strictEqual(group.getGenerator('hex'), '02');
597 const bob = crypto.createDiffieHellman(alice.getPrime(), alice.getGenerator());643 ### `diffieHellman.getGenerator([encoding])`