Please Login to access more options.
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
RSA public key encryption
This is found on page 164 of your text
- Receiver
- Pick very large primes $p$ and $q$ and compute $n=pq$.
- Compute the least common multiple of $p-1$ and $q-1$; call it $m$.
- Pick $r$ relatively prime to $m$.
- Find $s$ such that $rs \text{ mod } m =1$.
- Publicly announce $n$ and $r$.
- Sender
- Convert the message to strings of digits.
- Break up the message into uniform blocks of digits; call them $M_1$, $M_2$, $\ldots$, $M_k$.
- Calculate and send $R_i=M_i^k \text{ mod }n$.
- Receiver
- For each received message $R_i$, calculate $R_i^s\text{ mod }n$.
- Convert the string of digits back to a string of characters.
For more problems, see AllProblems