TY - GEN
T1 - Contrast various tests for primality
AU - Kochar, Vrinda
AU - Goswami, Dheeraj Puri
AU - Agarwal, Mayank
AU - Nandi, Sukumar
N1 - Publisher Copyright:
© 2016 IEEE.
PY - 2016/7/2
Y1 - 2016/7/2
N2 - With the increasing popularity and usage of cryptography and network security, prime generation and primality testing has become a significant issue. Various primality tests have been introduced in the past and we compare and contrast some popular primality tests and formulate our own results by implementing and testing them on a million numbers. Primality tests can be classified on the basis of whether they are general or specific, polynomial, deterministic or probabilistic and conditional or unconditional. We have considered AKS which is simultaneously general, polynomial, deterministic and unconditional while the other primality tests considered do not satisfy all these four properties simultaneously. Although AKS is an important algorithm theoretically, it is not used in practice due to it's poor performance versus the other primality test for large inputs. The results from our implementation show that Bailie-PSW performs the best while Fermat performs the poorest in probabilistic algorithms in terms of accuracy. AKS and Pocklington were found to perform as expected on the first five lakh numbers. Prime generation techniques are popular for generation of small primes. The most popular among these are the prime sieves. We implement, compare and contrast two of these namely, Sieve of Eratosthenes and Sieve of Sundaram on various ranges of numbers.
AB - With the increasing popularity and usage of cryptography and network security, prime generation and primality testing has become a significant issue. Various primality tests have been introduced in the past and we compare and contrast some popular primality tests and formulate our own results by implementing and testing them on a million numbers. Primality tests can be classified on the basis of whether they are general or specific, polynomial, deterministic or probabilistic and conditional or unconditional. We have considered AKS which is simultaneously general, polynomial, deterministic and unconditional while the other primality tests considered do not satisfy all these four properties simultaneously. Although AKS is an important algorithm theoretically, it is not used in practice due to it's poor performance versus the other primality test for large inputs. The results from our implementation show that Bailie-PSW performs the best while Fermat performs the poorest in probabilistic algorithms in terms of accuracy. AKS and Pocklington were found to perform as expected on the first five lakh numbers. Prime generation techniques are popular for generation of small primes. The most popular among these are the prime sieves. We implement, compare and contrast two of these namely, Sieve of Eratosthenes and Sieve of Sundaram on various ranges of numbers.
UR - http://www.scopus.com/inward/record.url?scp=85027068369&partnerID=8YFLogxK
U2 - 10.1109/ICADW.2016.7942510
DO - 10.1109/ICADW.2016.7942510
M3 - Conference contribution
AN - SCOPUS:85027068369
T3 - 2016 International Conference on Accessibility to Digital World, ICADW 2016 - Proceedings
SP - 39
EP - 44
BT - 2016 International Conference on Accessibility to Digital World, ICADW 2016 - Proceedings
PB - Institute of Electrical and Electronics Engineers
T2 - 1st International Conference on Accessibility to Digital World, ICADW 2016
Y2 - 16 December 2016 through 18 December 2016
ER -