Improvement and Implementation of Public Key Encryption Algorithm RSA

Author
SunWei
Advisor
XuChao
School
Anhui University
Major
Electronics and Communication Engineering
Classification
TN918.4 Password encryption and decryption
Degree
Master's thesis
Year
2014
Downloads
4
Citations
0

Request the full text

Abstract

With the rapid development of network information technology, security problems are becoming increasingly prominent. The theoretical basis of the network information security is cryptography, among which RSA encryption algorithm is the most widely used public key encryption algorithm, which can be used in both the data encryption and digital signature. However, with the continuous improvement of factorization technique, that is, the improvement of the ability to decompose large numbers into factors, the security of the RSA encryption algorithm is threatened. In order to guarantee the security of the RSA encryption algorithm, the bits of keys have been increased by people. For example, in December2009, researchers completed a768RSA algorithm (i.e.,232-digit number RSA-768key) factorization. Meanwhile, researchers claim that the commonly used1024-bits key is expected to be defeated in10years and the1024-bits key needs to be transited into2048-bits key in the coming few years.Although the increase in key bits ensures its security, it led to the decrease in the efficiency of the algorithm operation caused by the difficulties in selecting keys and the more complex process of encryption and decryption, greatly limiting its scope of application. In order to improve the efficiency of RSA encryption and decryption algorithms, this paper introduces and analyzes the RSA encryption algorithm, and improves the RSA encryption algorithm. Specific scheme to improve RSA algorithm is as follows:1) It introduces the traditional RSA encryption algorithm. As for the problems brought by the increase of bits the key, the RSA encryption algorithm of the three prime factors is adopted, increasing the number of prime factors but reducing the number of bits. Consequently, the difficulty of selecting large prime factor is lessened and the efficiency is thus improved.2) In the process of encryption algorithms, the commonly used encryption algorithms are introduced:traditional BR algorithms algorithm,2k hex decimal arithmetic algorithms and extensions. The advantages and disadvantages of these algorithms are analyzed. The last step is the combination of the SMM algorithm and the extended2k decimal arithmetic algorithms. With their merits, a new combination algorithm can be invented.3) In the decryption algorithm, a decryption algorithm based on the Chinese remainder theorem is used. Compared with the previous algorithm, the difference in this article lies in the fact that it uses three prime factors and process of decryption algorithm under the premise of three prime factors is given. The modulo operation of decryption algorithm is transformed into modulo operation with the three smaller prime factors, reducing the amount of calculation in modulo arithmetic.4) Finally, the design and implementation of RSA encryption and decryption software is completed. The software can perform encryption and decryption with different algorithms and calculate the time required to complete the encryption and decryption process. The improved algorithm is compared with the traditional algorithm in the aspect of efficiency and the efficiency of the improved algorithm has been improved to some extent.

Table of contents

Abstract 3-5 Abstract 5-7 catalog 7-10 first chapter 10-15 <br / > 1.1 network information Security development 10-11 1.2 cryptographic techniques domestic and foreign research status quo 1.3 11-12 12-13 1.4 Research background and Significance of main content 13-14 1.5 thesis 14-15 mathematical theory foundation nbsp chapter RSA encryption algorithm ; 15-21 2.1 basic concepts 15-16 2.1.1 divisor 15 2.1.2 Hop prime number 15-16 2.2 mode operation and its rules of operation 16-17 2.3 Euler's theorem and related knowledge 17-19 2.3.1 Euler function 17-18 <br / > 2.3.2 Euler's theorem 18-19 2.4 modular inverse element 19 2.5 trapdoor one-way functions 19-20 2.6 of this chapter Summary 20-21 Chapter three factor RSA encryption algorithm 21-30 3.1 cryptosystem 21-23 3.1.1 symmetric Encryption institutional 21-22 3.1.2 asymmetric cryptosystem 22-23 3.2 digital signature 23-24 3.3 traditional RSA algorithm 24-25 3.4 three-factor RSA algorithm and prove 25-28 3.4.1 three factor RSA algorithm process 26 3.4.2 algorithm correctness proof 26-28 3.5 algorithm security analysis 28-29 3.5.1 decomposition modulus n 28 3.5.2 computing Φ (n) method of attack 28-29 3.6 Chapter Summary process 29-30 Chapter IV of the RSA algorithm and improved 30-47 <br / > Select 4.1 large primes 30-32 4.1.1 strong pseudo- primes 30-31 4.1.2 Miller Rabin prime test method 31-32 4.2 public and private key generation 32-35 4.2.1 Euclid algorithm 32-33 4.2.2 extended Euclid algorithm 33 -35 4.3 encryption algorithm design 35-43 4.3.1 SMM algorithm 35-36 4.3.2 squared multiplied by (BR) algorithm 36-37 4.3.3 2k -ary algorithm 37-39 4.3.4 extended 2k -ary algorithm 39-40 4.3.5 encryption portfolio algorithm design 40-43 4.5 decryption algorithm design 43-46 4.6 Chapter Summary 46-47 improved RSA chapter algorithm implementation and testing 47-61 5.1 RSA encryption and decryption software analysis 47 5.2 RSA encryption and decryption software design 47-50 5.3 RSA algorithm processing large numbers 50-52 5.4 software implementation and operation 52-58 5.5 test results and analysis 58-60 5.6 summary 60-61 Chapter summary and Outlook 61-63 references 63-66 Thanks 66

Related dissertations

  1. The Study of Binary Image Watermarking Technology and Its Application in Classification Label
  2. Research on Key Technique for Interferometric Synthetic Aperture Radar Measurement
  3. Study on Nodes Ranging and Positioning Techniques Based on Gcrt in Wireless Sensor and Actuator Networks
    CuiYunHe ·Southwest Jiaotong University ·2012 ·Master's thesis
  4. Two New(r,n)-Secret Share Schemes
    LiuYinYin ·Zhengzhou University ·2012 ·Master's thesis
  5. Research on Chinese Remainder Theorem-Based Group Signature Schemes
  6. Applications of Chinese Remainder Theorem in Cryptography
    LiuZuo ·Qinghai Normal ·2012 ·Master's thesis
  7. The Algorithms and Complexities of Several Network Improvement Problems
    TaiWeiYing ·China Jiliang University ·2012 ·Master's thesis
  8. Euclid’s Algorithm and Related Problems
    ZhangShaoHua ·Shandong University ·2010 ·Doctoral dissertation
  9. Study on FIR Filter Based on Residue Number System
    ChenJianWen ·South China University of Technology ·2010 ·Doctoral dissertation
  10. The Research of Digital Image Sharing Based on Chaos and Threshold Scheme
    RenJinWei ·Jiangxi University of Technology ·2007 ·Master's thesis
  11. Research on a Software Watermarking Algorithm
  12. Research and Application of group signature
    QiaoHuiDong ·Central South University ·2007 ·Master's thesis
  13. About Schoof algorithm A Note
    HuoJiaJia ·Sichuan University ·2003 ·Master's thesis
  14. A conjecture about harmonic series
    DaiLiXia ·Nanjing Normal University ·2003 ·Master's thesis
  15. Research of Multilevel Security Network for Multimedia Service
  16. IP Secure Multicast
  17. Research and Presentation of Security of Database in Application System
  18. The Research of Database Digital Watermark
    ZhangGuiFang ·Hunan University ·2006 ·Master's thesis
  19. The software watermarking technology research
    BaiXueMei ·Guangdong University of Technology ·2005 ·Master's thesis
  20. Hierarchical key distribution and dynamics of access control
    DongBeiBei ·Shandong University ·2005 ·Master's thesis