If I have g = primitive root and p = prime number such that:
X = $g^x$ mod p
Y = $X^y$ mod p
I know the values of g, p, X, Y. Can I calculate $g^y$ without knowing x? How do I do that?
For example: Let us say I know that g = 5; p = 23; X = $g^x$ mod p = 8; Y = $X^y$ mod p = 2.
I do not know that x = 6 and y = 15. How do I find the values x = 6 and y = 15?
g = 5; p = 23; X = $g^x$ mod p = 8;
Y = $X^y$ mod p = 2;
I do not know that x = 6 and y = 15. How do I find the values x = 6 and y = 15?
– Oct 08 '22 at 22:37