Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the public key in part (4), Alice has encrypted a message (we do not know what was the original message), and sends it to

Using the public key in part (4), Alice has encrypted a message (we do not know what was the original message), and sends it to Bob through a public channel. Assume the encrypted message sent by Alice is 16. Eve also has the Bobs public key and receives the encrypted message (sent by Alice). Eve claims that using a simple program (as shown in the following) can find the prime numbers p and q which are used by RSA to calculate N (i.e. N=p.q), thus the original message is 35.

Check the program and verify her claim? (2 marks)

Show your work step-by-step. What is the output of the program? [2 marks]

Explain how she decrypted the message without having Alices private key? [2 marks]

i=2

N=713

while i

if N%i==0:

print("p=",i, "q=", N/i)

break;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions

Question

why we face Listening Challenges?

Answered: 1 week ago

Question

what is Listening in Context?

Answered: 1 week ago