Cryptography, Algorithms, Mathematics, Encryption, Hacking.
client-server exchange, both parties decide on some shared values: a modulo; P and a base; N, these two are known to the public. P is a prime number (the larger P is, the more secure the algorithm is)and N has to be a primitive root modulo of P. The primitive root modulo of a prime number P (e.g.