(1 point) The Miller-Rabin primality test is based around the following observation. 2 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 - 1. We can write n u = 4 is maximal, and r = 147 12 where Now we randomly select some a Є Zn, such as a = 1441. Initially we compute = | 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). 4r Otherwise we compute the list of values a²r, a¹², ..., a²²r, ..., a²r. Note a²"r Please enter this list for n = 2353 and a = 1441 in comma separated format. When the list is computed one of a few things could happen. 1) The value 1 never occurs on the list. = =an-1 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

(1 point) The Miller-Rabin primality test is based around the following observation.
2
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 - 1.
We can write n
u = 4
is maximal, and
r = 147
12 where
Now we randomly select some a Є Zn, such as a = 1441.
Initially we compute
=
|
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).
4r
Otherwise we compute the list of values a²r, a¹², ..., a²²r, ..., a²r. Note a²"r
Please enter this list for n = 2353 and a = 1441 in comma separated format.
When the list is computed one of a few things could happen.
1) The value 1 never occurs on the list.
=
=an-1
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:(1 point) The Miller-Rabin primality test is based around the following observation. 2 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 - 1. We can write n u = 4 is maximal, and r = 147 12 where Now we randomly select some a Є Zn, such as a = 1441. Initially we compute = | 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). 4r Otherwise we compute the list of values a²r, a¹², ..., a²²r, ..., a²r. Note a²"r Please enter this list for n = 2353 and a = 1441 in comma separated format. When the list is computed one of a few things could happen. 1) The value 1 never occurs on the list. = =an-1 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

Blurred answer
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