Abstract
This thesis presents an analysis of the theoretical background, working mechanisms, and practical performance of primality testing algorithms. It discusses the significance of prime numbers in contemporary cryptographic systems and the importance of verifying large integers. The study examines the mathematical principles, strengths, and weaknesses of the Fermat, Solovay–Strassen, Miller–Rabin, and AKS primality tests. Furthermore, the computational complexity of deterministic and probabilistic approaches and their influence on cryptographic security are assessed. The findings indicate that primality testing algorithms constitute an essential component of public-key cryptographic schemes, particularly RSA.
References
1. Hardy G. H., Wright E. M. An Introduction to the Theory of Numbers. — Oxford University Press, 2008.
2. Crandall R., Pomerance C. Prime Numbers: A Computational Perspective. — Springer, 2005.
3. Rosen K. H. Elementary Number Theory and Its Applications. — Pearson, 2010.
4. Carmichael R. D. “On Composite Numbers P Which Satisfy the Fermat Congruence”. American Mathematical Monthly, 1910.
5. Solovay R., Strassen V. “A Fast Monte-Carlo Test for Primality”. SIAM Journal on Computing, 1977.
6. Miller G. L. “Riemann’s Hypothesis and Tests for Primality”. Journal of Computer and System Sciences, 1976.
7. Rabin M. O. “Probabilistic Algorithm for Testing Primality”. Journal of Number Theory, 1980.
8. Agrawal M., Kayal N., Saxena N. “PRIMES is in P”. Annals of Mathematics, 2004.
9. Rivest R., Shamir A., Adleman L. “A Method for Obtaining Digital Signatures and Public-Key Cryptosystems”. Communications of the ACM, 1978.