Searched refs:computeSecret (Results 1 – 11 of 11) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-dh.js | 16 let secret1 = dh1.computeSecret(key2, 'hex', 'base64'); 17 let secret2 = dh2.computeSecret(key1, 'latin1', 'buffer'); 132 const secret3 = dh3.computeSecret(key2, 'hex', 'base64'); 145 const secret4 = dh4.computeSecret(key2, 'hex', 'base64'); 173 dh3.computeSecret(''); 181 const aSecret = alice.computeSecret(bob.getPublicKey()).toString('hex'); 182 const bSecret = bob.computeSecret(alice.getPublicKey()).toString('hex'); 209 const modp2Secret = modp2.computeSecret(exmodp2.getPublicKey()) 211 const exmodp2Secret = exmodp2.computeSecret(modp2.getPublicKey()) 221 const modp2Secret = modp2.computeSecret(exmodp2.getPublicKey()) [all …]
|
D | test-crypto-dh-padding.js | 107 p.computeSecret(bpub, 'hex', 'hex').toString('hex'),
|
D | test-crypto-binary-default.js | 591 const secret1 = dh1.computeSecret(key2, 'hex', 'base64'); 592 const secret2 = dh2.computeSecret(key1, 'latin1', 'buffer'); 608 const secret3 = dh3.computeSecret(key2, 'hex', 'base64');
|
D | test-crypto-dh-stateless.js | 127 dh.computeSecret(publicKey));
|
/third_party/node/lib/internal/crypto/ |
D | diffiehellman.js | 125 DiffieHellmanGroup.prototype.computeSecret = method in DiffieHellmanGroup 126 DiffieHellman.prototype.computeSecret = method in DiffieHellman 133 const ret = this[kHandle].computeSecret(toBuf(key, inEnc)); 206 ECDH.prototype.computeSecret = DiffieHellman.prototype.computeSecret; method in ECDH
|
/third_party/node/test/pummel/ |
D | test-crypto-dh-keys.js | 46 const key1 = group1.computeSecret(group2.getPublicKey()); 47 const key2 = group2.computeSecret(group1.getPublicKey());
|
D | test-dh-regr.js | 50 const aSecret = a.computeSecret(b.getPublicKey()); 51 const bSecret = b.computeSecret(a.getPublicKey());
|
/third_party/node/benchmark/crypto/ |
D | cipher-stream.js | 30 const alice_secret = alice.computeSecret(bob.getPublicKey(), pubEnc, 'hex'); 31 const bob_secret = bob.computeSecret(alice.getPublicKey(), pubEnc, 'hex');
|
/third_party/node/deps/npm/node_modules/sshpk/lib/ |
D | dhe.js | 161 DiffieHellman.prototype.computeSecret = function (otherpk) { method in DiffieHellman 169 return (this._dh.computeSecret( 174 return (this._dh.computeSecret(
|
/third_party/node/doc/api/ |
D | crypto.md | 601 const aliceSecret = alice.computeSecret(bobKey); 602 const bobSecret = bob.computeSecret(aliceKey); 608 ### `diffieHellman.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding])` 786 const aliceSecret = alice.computeSecret(bobKey); 787 const bobSecret = bob.computeSecret(aliceKey); 841 ### `ecdh.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding])` 870 `ecdh.computeSecret` will throw an 981 const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); 982 const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex'); 2327 const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); [all …]
|
D | errors.md | 781 `crypto.ECDH()` class `computeSecret()` method. It means that the public
|