
290 Data Communications and Computer Networks
with the received MAC to determine whether they are same or not. If so, the receiver knows that the
message has not been changed and is actually from the intended sender and thus, accepts the message.
Otherwise, the message is discarded.
19. Encrypttheplaintext6usingRSApublickeyencryptionalgorithm.Useprimenumbers
11 and3 to computethepublic andprivate keys.Moreover,decryptthe ciphertextusingthe
privatekey.
Ans: Here, m = 11 and n = 3
According to RSA algorithm (as explained in Q12)
p = m * n = 11 * 3 = 33
q = (m − 1) * (n − 1) = (11 − 1) * (3 − 1) = 10 * 2 = 20
We choose ...