Update
C=P^e mod n
P=C^d mod n
Incorrectly mentioned (p = c^e mod n).
Sorry for the mistake.
Q) Using RSA algorithm, user X chooses the public key (n=21, e = 5). Compute the private key d of user X. User Y wants to transmit message M=19 to user X in a confidential manner using RSA algorithm, determine the ciphertext C.
RSA Public Key Cryptography.
Semester 7, Mumbai University.