Question

Perform encryption using the RSA algorithm for the following: p=5, q=9, e=2, M=5 p=4, q=12, e=4,...

Perform encryption using the RSA algorithm for the following:

p=5, q=9, e=2, M=5

p=4, q=12, e=4, M=3

C=Me mod n

C is the cipher text and M is the plain text, n=p×q

Homework Answers

Answer #1

Solution:

(a)

Given,

=>RSA algorithm is used.

=>p= 5, q = 9, e = 2 and M = 5

Explanation:

Finding value of n:

=>n = p*q

=>n = 5*9

=>n = 45

Performing encryption:

=>Ciphertext(C) = M^e mod n

=>C = 5^2 mod 45

=>C = 25 mod 45

=>C = 25

(b)

Given,

=>p = 4, q = 12, e = 4 and M = 3

Explanation:

Finding value of n:

=>n = p*q

=>n = 4*12

=>n = 48

Performing encryption:

=>Ciphertext(C) = M^e mod n

=>C = 3^4 mod 48

=>C = 81 mod 48

=>C = 33

I have explained each and every part with the help of statements attached to it.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Perform encryption and decryption for the RSA algorithm using these parameters: p = 13; q =...
Perform encryption and decryption for the RSA algorithm using these parameters: p = 13; q = 19; e = 5; Plaintext should be the first three letters of the month you were born (convert letters to the values 0-25). Note you need to do three encryptions. Show how decryption works. The above calculation is performing a cipher on the alphabet. How does this method compare with a classic cipher?
Alice is sending message “HIDE” to Bob. Perform encryption and decryption using RSA algorithm, with the...
Alice is sending message “HIDE” to Bob. Perform encryption and decryption using RSA algorithm, with the following information: Parameters p q e 11 5 7 Present all the information that you will need to encrypt and decrypt only the first letter from text.
RSA Cryptography Perform encryption and decryption to find private decryption key d. a. p = 3,...
RSA Cryptography Perform encryption and decryption to find private decryption key d. a. p = 3, q = 13, e = 7 b. p = 787, q = 631, e = 234559
1. Dexter wants to set up his own public keys. He chooses p = 23 and...
1. Dexter wants to set up his own public keys. He chooses p = 23 and q = 37 with e = 5. Answer the following using RSA cryptographic method: a) Encrypt the message ‘100’ and find the CIPHER number (C) to be sent. ‘100’ should be taken together as M while computing encryption [5 Marks] C = Me mod pq (Use This Formula) b) Find the decryption key ‘d’, using extended Euclidean GCD algorithm. [10 Marks] c) Now decrypt...
Discrete Math In this problem, we will implement the RSA algorithm to encrypt and decrypt the...
Discrete Math In this problem, we will implement the RSA algorithm to encrypt and decrypt the message ”148”.For this exercise, you may want to use some kind of calculator that can compute the mod function. 1. Set the primes p and q as follows:p=31 and q=47. What are the values for N and φ? 2.The value for e is chosen to be 11. Use Euclid’s algorithm to verify that e and φ are relatively prime and to find d, the...
Let p=11, q=17, n = pq = 187. Your (awful) public RSA encryption key is (e=107,...
Let p=11, q=17, n = pq = 187. Your (awful) public RSA encryption key is (e=107, n=187). (a) What is your private decryption key? (b) You receive the encrypted message: 100 Decrypt the message. (In other words, what was the original message, before it was encrypted? Just give me a number, don’t convert it to letters).
Consider the RSA algorithm with n=33 and E=7. 1. Encode the message 8. 2. Find the...
Consider the RSA algorithm with n=33 and E=7. 1. Encode the message 8. 2. Find the value of D. 3. Decode the message 9. Consider the RSA algorithm with n=65 and E=5. 4. Encode the message 8. 5. Find the value of D. 6. Decode the message 2.
For solving the problems, you are required to use the following formalization of the RSA public-key...
For solving the problems, you are required to use the following formalization of the RSA public-key cryptosystem. In the RSA public-key cryptosystem, each participants creates his public key and secret key according to the following steps: ·       Select two very large prime number p and q. The number of bits needed to represent p and q might be 1024. ·       Compute                n = pq                           (n) = (p – 1) (q – 1). The formula for (n) is owing to...
Consider the following two prime numbers and demonstrate RSA algorithm. 139 and 151 Now consider a...
Consider the following two prime numbers and demonstrate RSA algorithm. 139 and 151 Now consider a message M= 5, encrypt M using the encryption key and find the encrypted message E Now decrypt E, using the decryption key.
Let p=3 and q=17 and let an RSA public-key cryptosystem be given. 1. Why is the...
Let p=3 and q=17 and let an RSA public-key cryptosystem be given. 1. Why is the number 8 not a valid encryption-key? 2. We encrypt the number M=8 with the help of the encryption-key e=3. Why is the encrypted message C=2? 3. Why is the decryption key d for the encryption-key, (e=3), equal to 11? https://en.wikipedia.org/wiki/RSA_(cryptosystem)#Encryption