Choose two distinct prime numbers \( p \) and \( q \).
\( n = p \times q = \) 143
\( \phi(n) = (p-1)(q-1) = \) 120
Choose \( e \) such that \( 1 < e < \phi(n) \) and \( \gcd(e, \phi(n)) = 1 \).
Calculate \( d \) (Private Key) such that \( d \cdot e \equiv 1 \pmod{\phi(n)} \).
\( d = \) 103
Public Key: (143, 7)
Private Key: (143, 103)