Entered Answer Preview Result Message 4 4 correct 147 147 correct 1576 1576 incorrect 0, 1, 2, 3, 4, 5 0, 1, 2, 3, 4, 5 17% correct Your first number is incorrect Your third number is incorrect Your fourth number is incorrect Your fifth number is incorrect Your sixth number is incorrect 2 2 correct 3 3 correct At least one of the answers above is NOT correct. (1 point) The Miller-Rabin primality test is based around the following observation. If p is prime and x² = 1 mod p then x = ±1 mod p. Note that x = -1 mod p and x = p-1 mod p mean the same thing. We will use the Miller-Rabin test to test n = 2353 for primality. To do this we will closely examine an-1 mod n for various integers a. First we divide out all of the 2's from n We can write n − 1 = 2ur where u = 4 is maximal, and r = 147 = 1. Now we randomly select some a Є Zn, such as a = 1441. Initially we compute ar = 1576 mod n. If this number is 1 then the test is inconclusive and another a is selected (up until the number of a's determined by the security level). Otherwise we compute the list of values a²r, a 4r, ..., ..., a²r. Note a 2ª n-1 a Please enter this list for n = 2353 and a = 1441 in comma separated format. 0,1,2,3,4,5 When the list is computed one of a few things could happen. 1) The value 1 never occurs on the list. 2) The value -1 = p-1 mod p occurs on the list, immediately followed by 1. 3) The value 1 occurs in the list, but *not* preceded by -1. Which one of these possibilities holds in our case (enter the number)? 2 What conclusion should we draw from what we have done? 1) n is prime. 2) n is composite. 3) The test is inconclusive. 3

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Provide the correct answers 

Provide the correct answers 

Entered
Answer Preview
Result
Message
4
4
correct
147
147
correct
1576
1576
incorrect
0, 1, 2, 3, 4, 5
0, 1, 2, 3, 4, 5
17% correct
Your first number is incorrect
Your third number is incorrect
Your fourth number is incorrect
Your fifth number is incorrect
Your sixth number is incorrect
2
2
correct
3
3
correct
At least one of the answers above is NOT correct.
(1 point) The Miller-Rabin primality test is based around the following observation.
If p is prime and x² = 1 mod p then x = ±1 mod p.
Note that x = -1 mod p and x = p-1 mod p mean the same thing.
We will use the Miller-Rabin test to test n = 2353 for primality. To do this we will closely examine
an-1 mod n for various integers a.
First we divide out all of the 2's from n
We can write n − 1 = 2ur where
u = 4
is maximal, and
r = 147
=
1.
Now we randomly select some a Є Zn, such as a = 1441.
Initially we compute
ar
= 1576
mod n.
If this number is 1 then the test is inconclusive and another a is selected (up until the number of a's
determined by the security level).
Otherwise we compute the list of values a²r, a 4r, ...,
..., a²r. Note a 2ª
n-1
a
Please enter this list for n = 2353 and a = 1441 in comma separated format. 0,1,2,3,4,5
When the list is computed one of a few things could happen.
1) The value 1 never occurs on the list.
2) The value -1 = p-1 mod p occurs on the list, immediately followed by 1.
3) The value 1 occurs in the list, but *not* preceded by -1.
Which one of these possibilities holds in our case (enter the number)?
2
What conclusion should we draw from what we have done?
1) n is prime.
2) n is composite.
3) The test is inconclusive.
3
Transcribed Image Text:Entered Answer Preview Result Message 4 4 correct 147 147 correct 1576 1576 incorrect 0, 1, 2, 3, 4, 5 0, 1, 2, 3, 4, 5 17% correct Your first number is incorrect Your third number is incorrect Your fourth number is incorrect Your fifth number is incorrect Your sixth number is incorrect 2 2 correct 3 3 correct At least one of the answers above is NOT correct. (1 point) The Miller-Rabin primality test is based around the following observation. If p is prime and x² = 1 mod p then x = ±1 mod p. Note that x = -1 mod p and x = p-1 mod p mean the same thing. We will use the Miller-Rabin test to test n = 2353 for primality. To do this we will closely examine an-1 mod n for various integers a. First we divide out all of the 2's from n We can write n − 1 = 2ur where u = 4 is maximal, and r = 147 = 1. Now we randomly select some a Є Zn, such as a = 1441. Initially we compute ar = 1576 mod n. If this number is 1 then the test is inconclusive and another a is selected (up until the number of a's determined by the security level). Otherwise we compute the list of values a²r, a 4r, ..., ..., a²r. Note a 2ª n-1 a Please enter this list for n = 2353 and a = 1441 in comma separated format. 0,1,2,3,4,5 When the list is computed one of a few things could happen. 1) The value 1 never occurs on the list. 2) The value -1 = p-1 mod p occurs on the list, immediately followed by 1. 3) The value 1 occurs in the list, but *not* preceded by -1. Which one of these possibilities holds in our case (enter the number)? 2 What conclusion should we draw from what we have done? 1) n is prime. 2) n is composite. 3) The test is inconclusive. 3
Expert Solution
steps

Step by step

Solved in 2 steps with 22 images

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education