Fast modular power algorithm based on length limited run-length coding

The modular power of large integer is a research hotspot in the public-key cryptosystem. To improve the efficiency, many modified algorithms were proposed, among them, the algorithms based on sliding window coding are popular. In this paper, a novel length limited run-length coding method was proposed by modifying sliding window coding. In this method, the large exponent was recoded, so the modular power operation was changed into simple multiplication, addition and displacement operation. Then, a modular power algorithm based on the novel coding method was designed, and its time and space complexity was analyzed. Finally, its efficiency was compared with which based on the current optimal sliding window coding. Analysis shows that the both algorithms are equivalent in the space complexity, whereas the former is superior to the later in the time complexity. Tested under the same environment, the proposed algorithm's efficiency increase 40%.

[1]  R. Vig,et al.  An Efficient Montgomery Multiplication Algorithm and RSA Cryptographic Processor , 2007, International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007).

[2]  A.G. Ramakrishnan,et al.  Line Removal and Restoration of Handwritten Strokes , 2007, International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007).

[3]  Lin Da-zheng Optimal Sliding Window Coding Method and Its Application in Fast Modular Power Multiplication , 2005 .

[4]  Zhou Ting,et al.  A Novel Fast Exponentiation Algorithm for Encryption , 2007, 2007 International Workshop on Anti-Counterfeiting, Security and Identification (ASID).

[5]  Ding Hong A High Speed Algorithm for Implementation Large Number Modular Multiplication and its Applications , 2003 .

[6]  Yan Ying-jian Design and Implementation of a Modified High Speed Scalable Dual-Field Modular Multiplier , 2009 .

[7]  A. Hayami,et al.  Sliding window coding technique for the variable length modulations , 2002, International Symposium on Optical Memory and Optical Data Storage Topical Meeting.