Constructor that takes a private value x, a prime modulus p, and a base generator g.
x
p
g
Parameters:
Diagram: Key