Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION B b) Eve is given a large composite number n =p xq. She attempts a brute force approach to finding a factor of n

QUESTION B

image text in transcribed

b) Eve is given a large composite number n =p xq. She attempts a brute force approach to finding a factor of n by testing whether p divides n for p = 2,3, 5, 7, ... until she finds a factor pln. Prove that Eve has to test at most 26/2+1 d= b In 2 factors until she finds p|n, where b = log2(n) is the approximate number of bits in n. Hint: Use the Prime Number Theorem to approximate the number of tests required. [3 marks] c) Assume Eve has a computer that can check 100 million factors in a second. How many days could it potentially take Eve to find a prime factor for a number n with b = 100? Use the estimate from b). [2 marks] b) Eve is given a large composite number n =p xq. She attempts a brute force approach to finding a factor of n by testing whether p divides n for p = 2,3, 5, 7, ... until she finds a factor pln. Prove that Eve has to test at most 26/2+1 d= b In 2 factors until she finds p|n, where b = log2(n) is the approximate number of bits in n. Hint: Use the Prime Number Theorem to approximate the number of tests required. [3 marks] c) Assume Eve has a computer that can check 100 million factors in a second. How many days could it potentially take Eve to find a prime factor for a number n with b = 100? Use the estimate from b). [2 marks]

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

Step: 3

blur-text-image

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

What is a composite state? What is it used for?

Answered: 1 week ago

Question

4. How do readers benefit from white space and headings?

Answered: 1 week ago

Question

What new skills will trainers need to be successful in the future?

Answered: 1 week ago