Given $n=pq$ for $p,q$ known, I can calculate $\phi(n)$.
$e$ is selected such that $\gcd (e,\phi(n)) = 1$.
Using this, how do I calculate the RSA private key?
I have $n = 35$, with $(p,q)=(5,7)$. I have also computed $\phi(n)=24$, and selected $e$ such that $\gcd (e,\phi(n)) = 1$ by taking $e=23$.
Calculate the private key.