a. use the Euclidean algorithm to calculate d (Step 4, of Bob\'s RSA key choise
ID: 3621890 • Letter: A
Question
a. use the Euclidean algorithm to calculate d (Step 4, of Bob's RSA key choise algorithm from below)
b. encode the text T = 8 using the public key (n,e)
c. decode your answer to your encoding result to retrieve your message 8. See alice-send-message-to-bob(x) in steps 7 and 8 on the below
-----------------------------------------------------------------------------------------------------
Bobs RSA Key Choice Algorithm
(1) Choose 2 large prime number p and q
(2) n = p * q
(3) choose e != 1 so that e is relatively prime to (p-1)(q-1)
(4) compute d = e^-1 mod (p-1)(q-1)
(5) publish e and n
(6) keep d secret
Alice-send-message to box (x)
(1) alice does the following
(2) read the public directory for bob's keys e and n
(3) compute y = x^e mod n
(4) send y to bob
(5) bob recieves the foloowing:
(6) recieve y from alice
(7) computer z=y^d mod n, using secret key d
(8) read z