'Let p and q be prime numbers and n be their product'
True
True
35183
34800
17400
'Chose a number e that is relativiely prime to (p-1)(q-2)'
17
1
'Bob Will Publish (n,e)'
(35183, 17)
'Find the inverse of e modulo n'
-2047
1
'To send a message x to Bob we compute y = x^e mod n and send that to Bob.'
9307
'To decode the message Bob simply computes z = y^d mod n. (We have that (x^e)^d = x^(ed) = x mod n)'
24024