Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Alice and her three friends are all users of the RSA cryptosystem. Her friends have public keys (Ni,ei=3),i=1,2,3 where as always,Ni=piqi for randomly chosen n-bit primes piqi. Showthat if Alice sends the same n-bit message M (encrypted using RSA) to each of her friends, then anyone who intercepts all three encrypted messages will be able to efficiently recover M.
(Hint: It helps to have solved problem 1.37 first.)

Short Answer

Expert verified

The plain text can be efficiently recovered when encrypted all messages M.

Step by step solution

01

Given data

Alice is sending the same message to all of her friends through RSA (Rivest-Shamir-Adleman)cryptosystem.

Public keys of her three friends areNi,ei where i=1,2,3.

The message is "MSG" and the size of message is "n-bit".

02

Explanation

The cyphertext of "Mi" for "ei=3" (where,i=1,2,3) can be written as follows:

M1=MSG3modN1

M2=MSG3modN2M3=MSG3modN3


Rearrange the above terms to find the "MSG" value. In the above terms, the "modN" values are common for both left and right side of the equation. So, it can be placed at either left or right side of the equation.


Thus, the above terms can be rearranged as follows:

M1modN1=MSG3M2modN2=MSG3M3modN3=MSG3

And the above can be written as follows:
MSG3=M1modN1MSG3=M2modN2MSG3=M3modN3

Here, if anyone intercepts all the three encrypted messagesM1,M2,M3 with the public
keysN1,N2,N3,e then they can determine the original message "MSG" by using the

Chinese Remainder Theorem.

Therefore, the plain text can be efficiently recovered when someone intercepts all encrypted messages "M".

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Give an efficient algorithm to compute the least common multiple of two n-bit numbers x and y, that is, the smallest number divisible by bothx and y. What is the running time of your algorithm as a function of n?

1.36. Square roots. In this problem, we'll see that it is easy to compute square roots modulo a prime pwith pโ‰ก3(mod4).
(a) Suppose pโ‰ก3(mod4). Show that(p+1)/4 is an integer.
(b) We say x is a square root of a modulo p if a=x2(modp). Show that if pโ‰ก3(mod4)and if a has a square root modulo p, thena(p+1)/4 is such a square root.

Suppose you want to compute the nth Fibonacci number Fn , modulo an integer p. Can you find an efficient way to do this?

Quadratic residues. Fix a positive integer N. We say that a is a quadratic residue modulo N ifthere exists a such that aโ‰กx2modN.
(a) Let N be an odd prime and be a non-zero quadratic residue modulo N. Show that there are exactly two values in{0,1,....,N-1} satisfying x2โ‰กamodN.
(b) Show that if N is an odd prime, there are exactly(N+1)2 quadratic residues in {0,1,...,N-1}.
(c) Give an example of positive integers a and N such thatx2โ‰กamodNhas more than two solutions in {0,1,...,N-1}.

A positive integer N is a power if it is of the formqk , where q,role="math" localid="1658399000008" k are positive integers and k>1.

(a) Give an efficient algorithm that takes as input a number and determines whether it is a square, that is, whether it can be written asq2 for some positive integer q. What is the running time of your algorithm?

(b) Show that if N=qk (with role="math" localid="1658399171717" N,q , andk all positive integers), then either role="math" localid="1658399158890" kโ‰คlogNorN=1.

(c) Give an efficient algorithm for determining whether a positive integerN is a power. Analyze its running time.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free