Synonyms
Related Concepts
Definition
The Miller–Rabin probabilistic primality test is a probabilistic algorithm for testing whether a number is a prime number using modular exponentiation, Fermat’s little theorem, and the fact that the only square roots of 1 modulo a prime are ± 1.
Theory and Applications
One property of primes is that any number whose square is congruent to 1 modulo a prime p must itself be congruent to 1 or − 1. This is not true of composite numbers. If a number n is the product of k distinct odd prime powers, then there will be \({2}^{k}\) distinct “square roots” of 1 modulo n. For example, there are four square roots of 1 modulo 77. The roots must be either 1 or − 1 modulo 7, and either 1 or − 1 modulo 11, since 7 and 11 divide...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Recommended Reading
Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms. MIT Press, Cambridge
Miller GL (1976) Riemann’s hypothesis and tests for primality. J Comput Syst Sci 13:300–317
Rabin MO (1980) Probabilistic algorithm for testing primality. J Number Theory 12:128–138
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this entry
Cite this entry
Liskov, M. (2011). Miller–Rabin Probabilistic Primality Test. In: van Tilborg, H.C.A., Jajodia, S. (eds) Encyclopedia of Cryptography and Security. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-5906-5_461
Download citation
DOI: https://doi.org/10.1007/978-1-4419-5906-5_461
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-5905-8
Online ISBN: 978-1-4419-5906-5
eBook Packages: Computer ScienceReference Module Computer Science and Engineering