期刊导航

论文摘要

AKS素性测定算法的一个改进版本在PC上的实现

Implementations of the Improved AKS Primality Testing Algorithm

作者:金正平(北京邮电大学 网络与交换技术国家重点实验室, 北京 100876);温巧燕(北京邮电大学 网络与交换技术国家重点实验室, 北京 100876)

Author:(State key Lab. of Networking and Switching Technol., Beijing Univ. of Posts and Telecommunications, Beijing 100876, China);(State key Lab. of Networking and Switching Technol., Beijing Univ. of Posts and Telecommunications, Beijing 100876, China)

收稿日期:          年卷(期)页码:2009,41(1):147-152

期刊名称:工程科学与技术

Journal Name:Advanced Engineering Sciences

关键字:素性测定; AKS 算法;Rabin Miller 测试; 算法实现

Key words:primality testing;AKS algorithm; Rabin Miller test; implementation of an algorithm

基金项目:国家高技术研究发展计划(863计划)资助项目(2006AA01Z419); 国家自然科学基金资助项目(90604023;60873191;60821001); 北京市自然科学基金项目(4072020); 高等学校博士学科点专项科研基金资助项目(20040013007)

中文摘要

AKS 算法从理论上成功解决了在多项式时间内进行确定性素性测定的著名难题,但它并不实用,从而得到一系列的改进。为深入分析现有AKS改进算法的实际应用效率, 利用 Delphi Pascal 语言在微机Pentium IV/1.8G上实现了 AKS 算法的一个 Bernstein 改进版本(简称 AKS Bernstein第二算法),并分析比较了AKS算法现有几个版本的实际耗时。对于原先需要几十甚至几千个小时才能完成一次素性测定的数据, 利用AKS Bernstein第二算法进行测试仅需几十秒,从而指出该算

英文摘要

The AKS algorithm successfully solved the noted problem of deterministic primality testing in polynomial time, but it was not yet suitable for the real application, thus it was improved in series. In order to further analyze the practical efficiency of currently improved versions of the AKS algorithm, one of them (called the second AKS Bernstein algorithm), which was proposed by Bernstein, was implemented by using Delphi Pascal program on PC Pentium I V/1.8 G, and its running efficiency were compared with that of other versions. For data that formerly needed tens or thousands of hours to complete the primality test with previous versions, only several seconds were required when running with the second AKS Bernstein algorithm. Thus, the conclusion that the second AKS Bernstein algorithm is better than other improved versions was got. In addition, some defects of the second AKS Bernstein algorithm were analyzed, and the suggestion that the second AKS Bernstein algorithm remains to be improved was made.

关闭

Copyright © 2020四川大学期刊社 版权所有.

地址:成都市一环路南一段24号

邮编:610065