Research on Prime Test Algorithms and the Application of Prime Test in Modern Cryptography

Author
WeiChengXing
Advisor
ZhouDaShui
School
Shandong University
Major
System Analysis and Integration
Classification
TN918.1 Theory
Degree
Master's thesis
Year
2009
Downloads
285
Citations
1

Request the full text

Abstract

The questions about prime have fascinated the mathematicians for a long time. Prime are the numbers that have no factor but 1 and itsself.One of the basic question about prime is how to determine a number is whether or not a prime efficiently.Prime test is not only a challenge question for mathemathics but also very important for the application systems.How to determine a great number is whether or not a prime or how to find a greate prime is the crucial fundamental condition for some encryption systems in the modern cryptology.Prime,especially the greate prime that above and beyond 2<sup>160</sup>,is used by lots of public key cryptgraphics.The public module of RSA is just the multiplication of two greate prime numbers,which both are greater than 2<sup>512</sup>. In the public key cryptographic system that based on the discrete logarithm on limited field F<sub>p</sub>,the prime must be above and beyond 2<sup>512</sup>.In the cryptographic system of ECC,we need the order of the group must be a prime number which should be greater than 2<sup>160</sup>.For all of above,we can see the importance of the research on prime test.The basic idea to determine a number is whether or not a prime number,is let the number be devided by all the numbers that smaller than the number needed to test.If some numbers can divide the number exactly,the number must not be prime.But it cost too much time and memory so that we can’t use the method into the test of the greate prime numbers.The small Fermat theory of 17th century is the beginning of the mathematicians to design the efficient prime test Algorithm,but the reverse of the theory is not correct.Lots of scientists developed very much new prime test algorithms,for example Miller-Rabin and Solovay-Strassen,are based on the small Fermat theory,but most of those Algorithms based on small Fermat theory are probabilistic.Until 2002,three India scientists developed a determination Algorithm, called AKS.Along with the research of the theory on elliptical curve theory,many scientists designed the prime test Algorithms’ based on the elliptical curve Algorithms,and it became an important direction of the research on prime test.I also give some analysis for 2 of this type prime test Algorithms.This paper begins with the basic theory of prime test,introducing the Prime Test in the full scale and introduce many Algorithms’ during the developing of prime test in detail.I do some analysis about the efficiency on some Algorithms,especially do analysis on Miller-Rabin,and do some optimization on the implementation about the Rabin Miller Algorithm.The optimization let Miller-Rabin run 1 times faster than the original,which find a 1024 bits prime on an Celeron 1.5G computer in 1.5 seconds.I show the flow table of how the Miller-Rabin works and some important codes in the test function.

Table of contents

Chinese Abstract 8-10 ABSTRACT 10-12 Symbol Description 12-13 Chapter Introduction 13-15 < br /> Chapter primality overview 15-18 Chapter primality theoretical basis 18-25 3.1 Definition 18-20 < br /> 3.2 primality Test method theoretical basis 20-24 3.3 This chapter summarizes 24-25 CHAPTER several primality testing algorithm 25-45 4.1 probabilistic algorithm based 25-26 4.1.1 PP class 25 4.1.2 Monte Carlo algorithm 25-26 <br / > 4.1.3 Las Vegas algorithm 26 4.2 required several primality testing algorithm complexity 26-31 4.2.1 Euclidean algorithm 26-29 4.2.2 modular exponentiation algorithm 29-30 4.2.3 random prime number generation algorithm 30 4.2.4 calculation algorithm Jacobi symbol 30-31 4.3 primality testing algorithm and its analysis 31-44 4.3.1 Fermat 's little theorem as an aggregate detection 31-32 4.3.2 Euler sentence is as fit testing 32 4.3.3 Lucas detection algorithm 32-33 4.3.4 Pocklington detection algorithm 33-34 < br /> 4.3.5 Demytko Theorem 34-35 4.3.6 Monte-Carlo algorithm for primality testing 35-36 4.3.7 Las Vegas algorithm for primality testing 36 4.3.8 Solovay-Strassen probabilistic prime test method 36-37 4.3.9 AKS primality testing algorithm 37-39 4.3.10 several elliptic curve primality testing algorithm 39-44 4.4 This chapter summarizes 44-45 Chapter Miller_Rabin primality testing algorithm 45-54 5.1 algorithm Description 45-46 5.2 algorithm Analysis 46-47 5.3 Miller-Rabin algorithm flowchart and key parts of the code 47-53 5.3.1 Miller-Rabin algorithm workflow 47-49 5.3.2 Miller-Rabin algorithm test function 49-53 5.4 Miller-Rabin algorithm Some optimization 53 5.5 Miller-Rabin algorithm on some recent progress 53-54 Chapter primality testing algorithms in cryptography important applications 54-59 6.1 RSA public key cryptography algorithm 54-57 6.1.1 RSA encryption and decryption operations 54-55 6.1.2 RSA signature scheme 55-56 6.1.3 Rabin signature scheme 56-57 6.3 ElGamal cryptosystem 57 6.3.2 ElGamal signature scheme 57 6.4 This chapter summarizes 57-59 Chapter VII Conclusion and outlook 59-60 References 60-63 Thanks 63-64 thesis reviewers and the respondent Fact Sheet 64

Related dissertations

  1. Research of Anti-collision Algorithm and Security Protocol in RFID Systems
    XiaoFeng ·Beijing Institute of Technology ·2014 ·Master's thesis
  2. Research and Implementation on Public-Key Based RFID Authentication Technology
  3. Research on Some Topics of Threshold Cryptography with Non-trusted Dealer
    ShiXianZhi ·Fujian Normal University ·2013 ·Master's thesis
  4. Probabilistic Cryptosystem Based on Public Key Encryption
    LiXiangQian ·Southwest Jiaotong University ·2012 ·Master's thesis
  5. Analysis and Design on Certificateless Digital Signature Schemes
    GuoLingLing ·Fujian Normal University ·2012 ·Master's thesis
  6. Hospital Informational Construction and Research of Security in Electronic Medical Records
    ChengNa ·Tianjin University ·2012 ·Master's thesis
  7. Research on Security and Applications of Threshold Cryptosystem
    ChaiZhenChuan ·Shanghai Jiaotong University ·2007 ·Doctoral dissertation
  8. Research on Cryptosystems and Key Agreement Protocols from Bilinear Pairings
    WangShengBao ·Shanghai Jiaotong University ·2008 ·Doctoral dissertation
  9. The Design & Research of DNSSEC Based on Multi-trust Model
    YiWeiXing ·Suzhou University ·2007 ·Master's thesis
  10. Research on the Elliptic Curve Cryptography and Its Application
    ZhangChaoPei ·Hefei University of Technology ·2007 ·Master's thesis
  11. Encryption system based on the CRT-MC public key cryptography algorithm design
  12. Password authentication in cryptography and secure communications program designed
    WangWei ·Northwestern University ·2006 ·Master's thesis
  13. A Study of Internet Security Based on Public-Key Infrastructure (PKI)
    FanZuo ·Central China Normal University ·2002 ·Master's thesis
  14. Hardware Acceleration of Fundamental Arithmetic in Public-Key Cryptography
    SongZuoLong ·Hefei University of Technology ·2009 ·Master's thesis
  15. Research of Traitor Tracing Based on Broadcast Encryption
    YangZuo ·Hunan University ·2010 ·Master's thesis