Please Login to access more options.



Today

« January 2014 »

Sun

Mon

Tue

Wed

Thu

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31


RSA public key encryption

This is found on page 164 of your text

  1. Receiver
    1. Pick very large primes $p$ and $q$ and compute $n=pq$.
    2. Compute the least common multiple of $p-1$ and $q-1$; call it $m$.
    3. Pick $r$ relatively prime to $m$.
    4. Find $s$ such that $rs \text{ mod } m =1$.
    5. Publicly announce $n$ and $r$.
  2. Sender
    1. Convert the message to strings of digits.
    2. Break up the message into uniform blocks of digits; call them $M_1$, $M_2$, $\ldots$, $M_k$.
    3. Calculate and send $R_i=M_i^k \text{ mod }n$.
  3. Receiver
    1. For each received message $R_i$, calculate $R_i^s\text{ mod }n$.
    2. Convert the string of digits back to a string of characters.

For more problems, see AllProblems