计算机科学 > 数据结构与算法
[提交于 2017年7月10日]
标题:Adaptive Modular Exponentiation Methods v.s. Python's Power Function
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this paper we use Python to implement two efficient modular exponentiation methods: the adaptive m-ary method and the adaptive sliding-window method of window size k, where both m's are adaptively chosen based on the length of exponent. We also conduct the benchmark for both methods. Evaluation results show that compared to the industry-standard efficient implementations of modular power function in CPython and Pypy, our algorithms can reduce 1-5% computing time for exponents with more than 3072 bits.
提交历史
来自:Shiyu Ji[v1] 2017年7月10日 星期一 00:00:00 UTC