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
During January, at a location in Alaska winds at -20°C can be observed, However, several meters below ground the temperature rem
maw [93]

Answer:

a) \eta_{th} = 10.910\,\%, b) Yes.

Explanation:

a) The maximum thermal efficiency is given by the Carnot's Cycle, whose formula is:

\eta_{th} =\left(1-\frac{253.15\,K}{284.15\,K}  \right) \times 100\,\%

\eta_{th} = 10.910\,\%

b) The claim of the inventor is possible since real efficiency is lower than maximum thermal efficiency.

4 0
3 years ago
Evaluate (204 mm)(0.004 57 kg) / (34.6 N) to three
vesna_86 [32]

Answer:

the evaluation in SI unit will be 2.69\times 10^{-5}sec^{2}

Explanation:

We have evaluate \frac{(204mm\times 0.00457kg)}{34.6N}

We know that 1 mm =10^{-3}m

So 240 mm =204\times 10^{-3}m

Newton can be written as kgm/sec^2

So \frac{(204\times 10^{-3}m)\times 0.00457kg}{34.6kgm/sec^2}=2.69\times 10^{-5}sec^{2}

So the evaluation in SI unit will be 2.69\times 10^{-5}sec^{2}

4 0
3 years ago
What plane is this? i want the model
myrzilka [38]

Answer:

I think that plane's name is

KLM ....Because you can see the mysterious Leter in the plane's

Forward and the back of the plane

4 0
2 years ago
2. What of the following demonstrates a
Dmitry_Shevchenko [17]
B. Always cut away from the body
8 0
3 years ago
if you’re disassembling a master cylinder and the front piston assembly is stuck in the master cylinder you can
lianna [129]

Answer:

Put water in the cylinder then push the piston inward

Explanation:

When water is put it displaces all the air making it possible for the piston to be pulled easier and without distraction

6 0
3 years ago
Other questions:
  • A solid circular rod that is 600 mm long and 20 mm in diameter is subjected to an axial force of P = 50 kN The elongation of the
    11·1 answer
  • 3/194 The assembly of two 5‐kg spheres is rotating freely about the vertical axis at 40 rev/min with θ = 90°. If the force F whi
    9·1 answer
  • (a) The lattice constant of GaAs is 5.65 Å. Determine the number of Ga atoms andAs atoms per cm 3 .
    15·1 answer
  • A cylindrical tank with a radius of 2-m is filled with oil and water. The water has a density of rho = 1000 kg/m3 while the oil
    6·1 answer
  • what is the expected life 1 inch diameter bar machined from AISI 1020 CD Steel is subjected to alternating bending stress betwee
    9·1 answer
  • Automobile engines normally have
    8·1 answer
  • Why it is important to prepare first the materials and tools carpentry before doing the tasks?​
    6·2 answers
  • What is the name of the type of rocker arm stud that does not require a valve adjustment?
    12·1 answer
  • Fast plz-The mirror check may involve ______________.
    8·1 answer
  • Draw the free-body diagram of the beam which supports the 80-kg load and is supported by the
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!