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

Find the inverse of:.20mod79,3mod62,21mod91,5mod23

Short Answer

Expert verified

Inverse of the given numbers is obtained.

Step by step solution

01

Inverse of 20 mod 79

GCD(20,79)79=(20×3,19)20=(19×1,1)GCD(20,79)=1soinverseof20mod79So,Bybackwardsubstitution,1=20-1×19=20-1×(79-3×20)=20-79+3×20=4×20-1×79.So,20-1=4mod79.

02

Inverse of 3 mod 62

GCD(3,62)62=(3×30,2)3=(2×1,1)GCD(3,62)is1so,inverseof3mod62is1=3-2=3-(62-20×3)=3-62+20×3=21×3-62×1So,3-1=21mod62.

03

Inverse of 21 mod 91

GCD(21,91)91=21×4,721=7×3,0So,HereGCD(21,91)is0soinverseisnotpossibleasperEuclidTheorem

04

Inverse of 5 mod 23

GCD(5,23)23=(5×4,3)5=(3×1,2)3=(2×1,1)GCD(5,23)isequalto1soinverseof5mod231=3-2=3-(5-3)=3×2-5×1=(23-4×5)×2-5×1=23×2-9×5So,5-1=-9=14mod23.

Hence, inverse of given numbers is obtained.

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

RSA and digital signatures. Recall that in the RSA public-key cryptosystem, each user has a public key P=(N,e) and a secret key d. In a digital signature scheme, there are two algorithms, sign and verify. The sign procedure takes a message and a secret key, then outputs a signature σ. The verify procedure takes a public key (N,e), a signature σ, and a message M, then returns “true” if σcould have been created by sign (when called with message M and the secret key (N, e) corresponding to the public key ); “false” otherwise.

(a)Why would we want digital signatures?

(b) An RSA signature consists of sign, (M,d)=Md(modN)where d is a secret key and N is part of the public key . Show that anyone who knows the public key (N,e)can perform verify ((N,e),Md,M), i.e., they can check that a signature really was created by the private key. Give an implementation and prove its correctness.

(c) Generate your own RSA modulus, N=pq public key e, and private key d (you don’t need to use a computer). Pick p and q so you have a 4-digit modulus and work by hand. Now sign your name using the private exponent of this RSA modulus. To do this you will need to specify some one-to-one mapping from strings to integers in [0,N-1]. Specify any mapping you like. Give the mapping from your name to numbers m1,m2,...mk,then sign the first number by giving the value md1(modN), and finally show that .

(md1)e=m1(modN)

(d) Alice wants to write a message that looks like it was digitally signed by Bob. She notices that Bob’s public RSA key is (17,391). To what exponent should she raise her message?

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?

Is 41536-94824 divisible by35 ?

Consider the problem of computing x y for given integers x and y: we want the whole answer, not modulo a third integer. We know two algorithms for doing this: the iterative algorithm which performs y − 1 multiplications by x; and the recursive algorithm based on the binary expansion of y. Compare the time requirements of these two algorithms, assuming that the time to multiply an n-bit number by an m-bit number is O(mn).

The algorithm for computing abmodCby repeated squaring does not necessarily lead to the minimum number of multiplications. Give an example of b>10where the exponentiation can be performed using fewer multiplications, by some other method.

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