Question

(c) In RSA, Given n = 143, compute the public and private keys. Do you observe anything special from the result? If plaintext

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Given,

=>n = 143

=>Plain text(m) = 2

Explanation:

=>n = p*q where p and q are prime number

=>p*q = 143

=>11*13 = 143

=>p = 11 and q = 13

=>\phi(n) = \phi (p)*\phi(q) where \phi (n) is euler totient function of n , \phi (p) is euler totient function of p and \phi (q) is euler totient function of q

=>\phi(n) = (p-1)*(q-1)

=>\phi(n) = (11-1)*(13-1)

=>\phi(n) = 10*12

=>\phi(n) = 120

Finding value of e:

=>Choosing e such that 1<e<\phi(n) and gcd(e,\phi(n)) = 1 where gcd means highest common factor

=>let say e = 11 as it satisfies both the given condition

Finding value of d:

=>Choosing d such that e*dmod\phi(n) = 1

=>11*dmod120 = 1

=>Let say d = 11 as it satifies the above condition

Something special:

=>We have observed that e = d = 11

Finding public key and private key:

=>Pair (e,n) represents the public key

=>Public key = (11,143)

=>Pair (d,n) represents the private key

=>Private key = (11,143)

Finding ciphertext(C):

=>C = m^e mod n

=>C = 2^11 mod 143

=>C = 46

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

Add a comment
Know the answer?
Add Answer to:
(c) In RSA, Given n = 143, compute the public and private keys. Do you observe...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using RSA Implementation: 1. Alice's RSA public key is given by (e, n) = (59, 1189)....

    Using RSA Implementation: 1. Alice's RSA public key is given by (e, n) = (59, 1189). = (a) Determine Alice's private key (d, n). (b) Bob sends his first message Mi 67 to Alice, encrypting it with RSA using Alice's public key. He obtains a cypher text Cị that gets forwarded to Alice. What is Cį? (c) Bob sends his second message M2 to Alice, encrypting it with RSA using Alice's public key. Eve, who was eavesdropping on the commu-...

  • Alice has the RSA public key (n, e) = (11413, 251) and private key d =...

    Alice has the RSA public key (n, e) = (11413, 251) and private key d = 1651. And Bob also has his own RSA public key (n’, e’) = (20413, 2221) and private key d’ = 6661. Alice wants to send the message 1314 to Bob with both authentication and non-repudiation. Use Maple, calculate what is the ciphertext sent by Alice. And Verify that Bob is able to recover the original plaintext 1314.

  • O-8. (15 points) Bob's simple toy RSA eryptosystem has public key kyub(n, e) (65,5), where n =p,-...

    o-8. (15 points) Bob's simple toy RSA eryptosystem has public key kyub(n, e) (65,5), where n =p,-5x13-65 and e-5. I. Describe the key pair generation procedure for Bob to generate his private key kor- d. With the above given parameters, use EEA to calculate d 2. Describe RSA encryption procedure that Alice uses to encrypt her plaintext message x to its above given parameters, what will be y? ciphertext y before sending the message to Bob. Suppose Alice's message x-...

  • Exercise 4: Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decry...

    Exercise 4: Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decryption of the message. Exercise 4: Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decryption of the message.

  • Exercise 4 Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decrypti...

    Exercise 4 Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decryption of the message. Exercise 4 Suppose Bob's set of RSA keys includes p 17, q 23, and e 5. Determine Bob's public and private keys. Show how Alice would encrypt the message M 200, and show Bob's decryption of the message.

  • In public key cryptosystems, the RSA is the most commonly used algorithm. Answer the following questions:...

    In public key cryptosystems, the RSA is the most commonly used algorithm. Answer the following questions: - 1. In the RSA algorithm, what is the security flaw with choosing e = 1 for the public key? (Hint: the RSA formula for encryption is c = M e mod n). 2.You are given a cipher text C=10 by a user whose public key is e=5, n=35. Break the code.

  • Suppose that you are computing an RSA key pair.   (Marks 6)        What are ? and ?...

    Suppose that you are computing an RSA key pair.   (Marks 6)        What are ? and ? and ?(?) for an ? = 51?        Find a legal RSA public key pair for this ? and ?.        How many possible values for ?? are there? In a RSA cryptosystem, a person Renee uses two prime numbers p = 13        and q = 17 to generate her public and private keys. If the public key of       Renee is 35, then the...

  • 1. Create an RSA private key 2. Output the key in a text format so that it shows the following:     modulus     public e...

    1. Create an RSA private key 2. Output the key in a text format so that it shows the following:     modulus     public exponent (e)     private exponent (d)     the primes (p and q) Send me a file called key.txt with this information. 3. Using openssl's rsautl option encrypt this message to me: "NAME" using the public key that's embedded with the private key above. Attach a file named encrypted.txt that contains the encrypted message. Hint: Copy the text above and put...

  • Suppose we use p = 7 and q = 5 to generate keys for RSA. a)...

    Suppose we use p = 7 and q = 5 to generate keys for RSA. a) What is n ? ___________________ b) What is φ(n) ? _______________________ c) One choice of e is 5. What are the other choices for e? _________________________________________________________________________________   d) Explain how you got your answer for part c.   e) For the choice of e = 5 what is d? _________________________ Show work. f) Using the public key (n, e), what is the message 3 encrypted as?...

  • Problem 1 Consider the 3-bit block cipher in slide 8-18. Suppose the plaintext is 101101101. If...

    Problem 1 Consider the 3-bit block cipher in slide 8-18. Suppose the plaintext is 101101101. If CBC is used with initial vector 110, what will be the resulting ciphertext? Show work, not just the final answer. Problem 2 Consider RSA with public key (n, e) and private key (n, d) where n = 35, e = 5, and d = 29. What is the encryption of m = 34? What is the decryption of c = 34? Show calculations, not...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT