equal
deleted
inserted
replaced
2040 /* |
2040 /* |
2041 * The Diffie-Hellman key exchange protocol. |
2041 * The Diffie-Hellman key exchange protocol. |
2042 */ |
2042 */ |
2043 |
2043 |
2044 // Our prime number as a base for operations. |
2044 // Our prime number as a base for operations. |
2045 var dh_prime = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321'; |
2045 var dh_prime = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703'; |
2046 |
2046 |
2047 // g, a primitive root used as an exponent |
2047 // g, a primitive root used as an exponent |
2048 // (2 and 5 are acceptable, but BigInt is faster with odd numbers) |
2048 // (2 and 5 are acceptable, but BigInt is faster with odd numbers) |
2049 var dh_g = '5'; |
2049 var dh_g = '5'; |
2050 |
2050 |