- #1
Sudharaka
Gold Member
MHB
- 1,568
- 1
Hi everyone, :)
I was reading a thesis recently and encounter the following problem. Hope you can clarify.
\[de\equiv 1\mbox{ mod }\psi (n)\]
where $\psi$ is Euler's Totient function.
\begin{eqnarray}
(x^e)^{d}\mbox{ mod }n & = & x^{ed} \mbox{ mod }n \\
&=& x^{ed\mbox{ mod }\psi(n)} \mbox{ mod }n ~~~~~~~~~~~\mbox{(by Fermat's little theorem)}
\end{eqnarray}
I don't understand how the second line is obtained. How can we just add that $\mbox{ mod }\psi(n)$ part to the exponent?
I was reading a thesis recently and encounter the following problem. Hope you can clarify.
\[de\equiv 1\mbox{ mod }\psi (n)\]
where $\psi$ is Euler's Totient function.
\begin{eqnarray}
(x^e)^{d}\mbox{ mod }n & = & x^{ed} \mbox{ mod }n \\
&=& x^{ed\mbox{ mod }\psi(n)} \mbox{ mod }n ~~~~~~~~~~~\mbox{(by Fermat's little theorem)}
\end{eqnarray}
I don't understand how the second line is obtained. How can we just add that $\mbox{ mod }\psi(n)$ part to the exponent?