Research on Fast Implementation of RSA Algorithm and Its Improvement

Author
LiangXiaoYing
Advisor
HuangZuo
School
Beijing University of Posts and Telecommunications
Major
Cryptography
Classification
TN918.1 Theory
Degree
Master's thesis
Year
2010
Downloads
237
Citations
0

Request the full text

Abstract

The public-key cryptosystem extends the cryptology from the traditional government and military applications to commercial and civilian areas, making the commercial and social values of modern cryptography widely recognized. Currently, RSA is the most widely used public-key cryptosystem. However, RSA algorithm is based on large prime numbers decomposition problems. In particular, to prevent the attacks, the mold length is increasing. Its main operations are large integer modular exponentiation and modular multiplication, and the algorithm’s low speed becomes a prominent RSA defect. Therefore, it is worthwhile to research on accelerating the large integer modular exponentiation and modular multiplication algorithm. This paper focuses on the acceleration of RSA implementation technology.Currently, research on RSA mainly includes key generation optimization, primality testing optimization, large integer modular multiplication, exponentiation of the optimization model, and so on. This paper focuses on modular multiplication and modular exponentiation of the optimization problem.Suggested by the popular Montgomery algorithm, this paper proposes a theorem on predigesting modular operation and proves it. We research on the algorithm based on sliding window coding, design a novel run-length limited coding and apply to design new large integer modular multiplication and modular exponentiation algorithm.And this article analyses the algorithm’s time and space complexity. Contrast to the efficiency of the existing correlation algorithm, in theory, our algorithm proves the superiority of the algorithm. In addition, simulation program implementes algorithm and experiments prove the efficiency of the algorithm greatly improved. We also study the run-length coding and try to directly apply it to design run-length encoding modular multiplication and modular exponentiation algorithm. However, through the analysis, we got the conclusion that the run-length encoding is not suitable for modular multiplication and modular exponentiation algorithm, which further proof of our designed limits run-length limited coding is the better coding technique can be applied to design large integer modular multiplication and modular exponentiation algorithm.The completion of this paper contributes great for the further promotion of public-key cryptosystem. It has vast commercial value, with a contribution to greatly improve the modular operation efficiency, which is widely used in the public-key cryptographical algorithm.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-15 1.1 Introduction 9 120 research status 9-11 the application of background 1.3 integers modulo p 11-13 1.3.1 RSA public key cryptosystem 11-12 1.3.2 ElGamal public key cryptography system 12 1.3.3 DSA public key cryptosystem 12-13 1.4 of this thesis 13-15 the second chapter of the classic algorithm 15-21 2.1 binary algorithm and its realization 15-16 2.1.1 S-X binary algorithm 15-16 2.1.2 from right to left scan binary algorithm 16 2.2 M-into the algorithm 16-17 2.3 factor algorithm 17 2.4 power tree algorithm 17-18 2.5 Addition Chain Algorithm 18-19 2.6 CRT-based modular exponentiation algorithm 19-20 2.7 Summary 20-21 Montgomery algorithm and improvement 21-27 3.1 Montgomery Algorithm and Its Implementation 21-26 3.1.1 Montgomery modular multiplication algorithm 21-22 3.1.2 Montgomery SOS achieve 22-23 3.1.3 Montgomery, modulus square algorithm 23-24 3.1.4 Montgomery modular exponentiation algorithm 24-25 3.1.5 simplify the modular inversion 25-26 3.2 Summary 26-27 Chapter based on sliding window encoding algorithm 27-39 4.1 Sliding Window Coding 27 4.2 based on modular multiplication algorithm of the sliding window 27-30 4.3 complexity analysis 30-32 4.3.1 Time Complexity Analysis 30-31 4.3.2 space complexity analysis 31-32 4.4 modular exponentiation algorithm based on sliding window 32-34 4.5 algorithm complexity analysis 34-35 4.5.1 time complexity analysis 34 4.5.2 space complexity analysis 34-35 4.6 Experiments and results 35-37 4.7 Summary 37-39 algorithm based on the limited long-RLE 39-50 5.1 limit long RLE 39-40 5.2 based on the limit of long length encoding fast modular multiplication algorithm 40-42 5.3 algorithm complexity analysis 42-44 5.3.1 Time Complexity Analysis 42-43 5.3.2 space complexity analysis 43-44 5.4 fast modular exponentiation algorithm based on limited long-RLE 44-46 5.5 algorithm complexity analysis 46-47 5.5.1 time complexity analysis 46 5.5.2 space complexity analysis 46-47 5.6 Experiments and results 47-49 5.7 Summary 49-50 system model with other programs 50-56 6.1 based on Montgomery algorithm limit the long-RLE 50-51 6.2 non-symmetric system model 51-52 6.3 length encoding multiply in large integer mode of application of the modular exponentiation 52-54 6.3.1 Length Coding 52-53 6.3.2 of large integer modular multiplication algorithm based on run length encoding 53-54 6.4 Summary 54-56 Chapter VII Conclusion and Outlook 56-58 7.1 Conclusion 56 7.2 Looking 56-58 References 58-60 thank 60-61 pursue a degree during the academic catalog 61

Related dissertations

  1. The Design of RSA Algorithm and Implementation against Power Analysis
    ShouNanQing ·Hunan University ·2013 ·Master's thesis
  2. Research on Image Compression Coding Using PCNN
    MaJianLin ·Lanzhou University ·2013 ·Master's thesis
  3. Reseach and Design of IDEA Encryption Chip
  4. Research of Reconfigurable Techniques for Modular Multiplier in Galois Field
  5. Research and Design A Configurable Processor for Elliptic Curve Cryptography Algorithm
    ZhouFaWang ·Tianjin University ·2012 ·Master's thesis
  6. Design of DC/DC Module Power with Wide-Range Input Voltage and High-Effciency
  7. The Research and Design of Reconfigurable Cipher Processing Architecture
  8. Researches on Some Problems in Elliptic Curve Cryptography
    SunYueGang ·Jilin University ·2009 ·Doctoral dissertation
  9. Study on Halftoning Image Compression
  10. Research and Design of RSA Public-Key Cryptographic Coprocessor
  11. Large integers modulo Fast Algorithm and Implementation Research
  12. The Research and Implementation of RSA Cryptographic Algorithm IP Core
    KuangJingBo ·Harbin Engineering University ·2006 ·Master's thesis
  13. The ASIC Implement and Test Analysis of Finite Field Polynomail Modular Mutiplier Based on FNT
    XiaHongMei ·East China Normal University ·2006 ·Master's thesis
  14. Implementation of Modular Multiplication Over Fp
    HuZhiJin ·Wuhan University ·2005 ·Master's thesis
  15. Design and Implementation of RSA Public-Key Cryptographic Coprocessor Based on Systolic Array Architecture
    WenNuan ·PLA Information Engineering University ·2005 ·Master's thesis
  16. Implementation of RSA Crypto Chip Based on FPGA
    KouWen ·PLA Information Engineering University ·2005 ·Master's thesis
  17. High-speed image acquisition card - based image processing
  18. Design of Finite Field Polynomail Multiplier
    HanFang ·East China Normal University ·2005 ·Master's thesis
  19. Research and Implementation on Compression Coding Algorithm of Identification Pictures
    LiZhan ·Wuhan University of Technology ·2005 ·Master's thesis
  20. Research and Implementation of Elliptic Curve Cryptography Algorithm
    RenChunJing ·Dalian University of Technology ·2005 ·Master's thesis