Let the DLP instance in Z∗18 be 7 ≡ 5^x(mod 18). Since n = 6 = 2 × 3, let p = 2, and q = 3. What are the elements generated by 5^2 modulo 18 and 5^3 modulo 18?
My answer is:
For 5^2 modulo 18:
(5^2) % 18 = 25 % 18 = 7
(5^4) % 18 = (7^2) % 18 = 49 % 18 = 13
(5^6) % 18 = (13^2) % 18 = 169 % 18 = 1
So, the elements generated by 5^2 modulo 18 are {7, 13, 1}.
For 5^3 modulo 18:
(5^3) % 18 = 125 % 18 = 11
(5^6) % 18 = (11^2) % 18 = 121 % 18 = 1
So, the elements generated by 5^3 modulo 18 are {11, 1}.
But I somehow feel I am understanding the question wrong :(
Original DLP instance:
h ≡ g^x(mod N), where g is the generator of Z∗N .
– Quora93 May 03 '23 at 09:36