1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nimfa-mama [501]
3 years ago
11

Suppose to build RSA crypto system you picked primes "p" and "q" as 3 and 7 and "e" as 5 what are the public and private keys? W

hat is the encryption of a message whose integer equivalent is 12. Show that the decryption gives back the message 12.
Engineering
1 answer:
nikdorinn [45]3 years ago
7 0

Answer:

1) Public key of the receiver is (e, n) is (5, 21)  and Private key of the receiver (d, n)   is (5 , 21) ,

2) the encryption of a message whose integer equivalent is 12 is 3

3) Decryption of the message ⇒ P = C^d mod n  

⇒ P = 3⁵ mod 21

⇒ P = 243 mod 21

⇒ 12

Explanation:

Given that,

p = 3

q = 7

e = 5

1)

Now, n = pq = 3 × 7 = 21

Ø(n) = (p-1) × (q-1)  = 2 × 6 = 12

Public key of the receiver is (e, n) is (5, 21)

and private key of the receiver is (d, n)

we have to find 'd' by using the expression

ed = 1 + kmodØ(n)

d = 1 + kmodØ(n) / e

now to get 'd' , we need to choose the least positive integer 'k', by substituting different values of ‘k’ from 0,

so for k =0 , d = (1+0) / 5 = 0.2 not an integer.

for k =1 , d = (1+12) / 5 = 13/5 = 2.6 not an integer.

for k =2 , d = (1+24) / 5 = 5 , now 5 is an integer

So k = 2 and d = 5

Private key of the receiver (d, n)   is (5 , 21)

2)

Now the encryption of a message whose integer equivalent is 12?

Encryption of the message ⇒ C = P^e mod n

⇒ C = 12⁵ mod 21

⇒ 248832 mod 21

⇒ 3

3)

Also the decryption gives back the message 12.

Decryption of the message ⇒ P = C^d mod n

⇒ P = 3⁵ mod 21

⇒ P = 243 mod 21

⇒ 12

You might be interested in
How did Atlantis benefit from lessons learned in construction of earlier orbiters?
Alenkasestr [34]

Answer:

Atlantis benefited from lessons learned in the construction and testing of Enterprise, Columbia and Challenger. ... The Experience gained during the Orbiter assembly process also enabled Atlantis to be completed with a 49.5 percent reduction in man hours (compared to Columbia).

Explanation:

8 0
3 years ago
Consider two different versions of algorithm for finding gcd of two numbers (as given below), Estimate how many times faster it
juin [17]

Answer:

Explanation:

Step 1:

a) The formula for compute greatest advisor is

     gcd(m,n) = gcd (n,m mod n)

the gcd(31415,14142) by applying Euclid's algorithm is

    gcd(31,415,14,142) =gcd(14,142,3,131)

                                  =gcd=(3,131, 1,618)

                                   =gcd(1,618, 1,513)

                                   =gcd(1,513, 105)

                                   =gcd(105, 43)

                                    =gcd(43, 19)

                                     =gcd(19, 5)

                                      =gcd(5, 4)

                                      =gcd(4, 1)

                                      =gcd(1, 0)

                                      =1

STEP 2

b)  The number of comparison of given input with the algorithm based on  checking consecutive integers and Euclid's algorithm is

     The number of division using Euclid's algorithm =10 from part (a)

      The consecutive integer checking algorithm:

      The number of iterations =14,142 and 1 or 2 division of iteration.

        14,142 ∠= number of division∠ = 2*14,142

         Euclid's algorithm is faster by at least 14,142/10 =1400 times

          At most 2*14,142/10 =2800 times.

5 0
3 years ago
A large particle composite consisting of tungsten particles within a copper matrix is to be prepared. If the volume fractions of
OverLord2011 [107]

Answer:

Upper bounds 22.07 GPa

Lower bounds 17.59 GPa

Explanation:

Calculation to estimate the upper and lower bounds of the modulus of this composite.

First step is to calculate the maximum modulus for the combined material using this formula

Modulus of Elasticity for mixture

E= EcuVcu+EwVw

Let pug in the formula

E =( 110 x 0.40)+ (407 x 0.60)

E=44+244.2 GPa

E=288.2GPa

Second step is to calculate the combined specific gravity using this formula

p= pcuVcu+pwTw

Let plug in the formula

p = (19.3 x 0.40) + (8.9 x 0.60)

p=7.72+5.34

p=13.06

Now let calculate the UPPER BOUNDS and the LOWER BOUNDS of the Specific stiffness

UPPER BOUNDS

Using this formula

Upper bounds=E/p

Let plug in the formula

Upper bounds=288.2/13.06

Upper bounds=22.07 GPa

LOWER BOUNDS

Using this formula

Lower bounds=EcuVcu/pcu+EwVw/pw

Let plug in the formula

Lower bounds =( 110 x 0.40)/8.9+ (407 x 0.60)/19.3

Lower bounds=(44/8.9)+(244.2/19.3)

Lower bounds=4.94+12.65

Lower bounds=17.59 GPa

Therefore the Estimated upper and lower bounds of the modulus of this composite will be:

Upper bounds 22.07 GPa

Lower bounds 17.59 GPa

7 0
2 years ago
If you are a mechanical engineer answer these questions:
Natasha_Volkova [10]

Answer:

1. Yes, they are all necessary.

2. Both written and verbal communication skills are of the utmost importance in business, especially in engineering. Communication skills boost you or your teams' performance because they provide clear information and expectations to help manage and deliver excellent work.

3 0
3 years ago
Case Study # 1: Cadbury Crisis Management (Worm Controversy)
Rasek [7]
H is the answer
Step by step
3 0
2 years ago
Other questions:
  • A device is needed to accelerate a 3000 lb vehicle into a barrier with constant velocity to test its 5 mph bumpers. The vehicle
    12·2 answers
  • A certain process requires 3.0 cfs of water to be delivered at a pressure of 30 psi. This water comes from a large-diameter supp
    9·1 answer
  • Explain the difference in the heat transfer modes of conduction and convection.
    14·1 answer
  • What type of drawing would civil engineers use if they needed to show an
    11·1 answer
  • Giving away free brainliest your welcome​
    15·2 answers
  • 50 points
    7·1 answer
  • Select the correct answer
    15·1 answer
  • A hub a signal that refreshes the signal strength.
    5·1 answer
  • Write a paragraph on computer 473
    5·1 answer
  • 7. If you can't ignore a distraction, what should you do?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!