Question: Discrete Logarithm Problem: Let $g$ be a primitive root for $F_{p}$. Suppose that $x = a$ and $x = b$ are both integer solutions to the congruence $g^{x} \equiv h \pmod{p}$. Prove that $a \equiv b\pmod{p-1}$.
So far, I have the following as my proof:
Proof: Let $g$ be a primitive root for $F_{p}$. Suppose that $x = a$ and $x = b$ are both integer solutions to the congruence $g^{x} \equiv h\pmod{p}$. Then, $g^{a} \equiv h\pmod{p}$ and $g^{b} \equiv h\pmod{p} \rightarrow g^{a} - h = kp$ and $g^{b} - h = kp$, for some $k \in Z$. By substitution, we have $g^{a} = g^{b} \rightarrow a \log (g) = b \log (g) \rightarrow a = b$.
It doesn't seem as if I'm going in the right direction, but I'm stumped on what other routine I can take. Any ideas?