equal
deleted
inserted
replaced
26 catch ( Exception $e ) |
26 catch ( Exception $e ) |
27 { |
27 { |
28 $dh_supported = false; |
28 $dh_supported = false; |
29 } |
29 } |
30 // Our prime number as a base for operations. |
30 // Our prime number as a base for operations. |
31 $GLOBALS['dh_prime'] = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321'; |
31 $GLOBALS['dh_prime'] = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703'; |
32 |
32 |
33 // g, a primitive root used as an exponent |
33 // g, a primitive root used as an exponent |
34 // (2 and 5 are acceptable, but BigInt is faster with odd numbers) |
34 // (2 and 5 are acceptable, but BigInt is faster with odd numbers) |
35 $GLOBALS['dh_g'] = '5'; |
35 $GLOBALS['dh_g'] = '5'; |
36 |
36 |