The Miller–rabin Test

نویسنده

  • KEITH CONRAD
چکیده

The Fermat and Solovay–Strassen tests are each based on translating a congruence modulo prime numbers, either Fermat’s little theorem or Euler’s congruence, over to the setting of composite numbers and hoping to make it fail there. The Miller–Rabin test uses a similar idea, but involves a system of congruences. For an odd integer n > 1, factor out the largest power of 2 from n− 1, say n− 1 = 2ek where e ≥ 1 and k is odd. This meaning for e and k will be used throughout. The polynomial xn−1 − 1 = x2ek − 1 can be factored repeatedly as often as we have powers of 2 in the exponent:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improving the Speed and Accuracy of the Miller-Rabin Primality Test

Currently, even the fastest deterministic primality tests run slowly, with the AgrawalKayal-Saxena (AKS) Primality Test runtime Õ(log(n)), and probabilistic primality tests such as the Fermat and Miller-Rabin Primality Tests are still prone to false results. In this paper, we discuss the accuracy of the Miller-Rabin Primality Test and the number of nonwitnesses for a composite odd integer n. We...

متن کامل

A polytime proof of correctness of the Rabin-Miller algorithm from Fermat's little theorem

Although a deterministic polytime algorithm for primality testing is now known ([4]), the Rabin-Miller randomized test of primality continues being the most efficient and widely used algorithm. We prove the correctness of the Rabin-Miller algorithm in the theory V for polynomial time reasoning, from Fermat’s little theorem. This is interesting because the Rabin-Miller algorithm is a polytime ra...

متن کامل

The Miller-Rabin test with randomized exponents

We analyze a variant of the well-known Miller-Rabin test, that may be useful in preventing side-channel attacks to the random prime generation on smart cards: In the well-known MillerRabin primality test for a positive integer n, one computes repeatedly the expression a (mod n) for random bases a ∈ N and exponents ω such that ω divides n − 1 and (n − 1)/ω is a power of 2. In each round one choo...

متن کامل

Accelerating the Distributed Multiplication Protocol with Applications to the Distributed Miller-Rabin Primality Test

In the light of information security it is highly desirable to avoid a “single point of failure” because this would be an attractive target for attackers. Cryptographic protocols for distributed computations are important techniques in pursuing this goal. An essential module in this context is the secure multiparty multiplication of two polynomially shared values over Zq with a public prime num...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017