基于kary消减的快速最大公约数算法.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于kary消减的快速最大公约数算法.doc

基于kary消减的快速最大公约数算法 最大公约数(GCD)算法中是计算数论 的基础课题之一,它在密码算法和密码分析中有着非 常广泛的应用,对于输入B和C,利用Sorenson的右 移 kary 消减(rightshift kary reduction)思想提出一个 算法用于寻找整数x和y,使得x和y满足Bx-Cy在二 进制表示下低比特位部分为0,即Bx-Cy=0(mod 2e), 其中e是常数正整数。利用该算法能够右移较多比特 并大规模降低循环次数。再结合模算法,提出了快速 GCD算法,其输入规模为n比特时最差复杂度仍然是 0 (n2),但最好的情况下复杂度能达到0 (运算顺序 是否要加括号由于该方向的表述都是这样,所以这样 描述是合理的。0 (nlog2nloglogn) 就是 0 (n*logA2 (n) *log (log (n)))。n Iog2 n log logn)0实验数据表明,对于20万以上比特规模的输 入,快速GCD算法比Binary GCD算法速度快;对100 万比特规模的输入,快速GCD算法速度是Binary GCD 法的两倍。 关键词:最大公约数算法;欧几里得算法;二进 制最大公约数算法;右移kary消减;整数最大公约 :fjI :fj 3x1 ■ — TP309 A 英文 Abstract: Greatest Common Divisor (GCD) is one of the basic subjects in computational number theory. It has a wide application in encryption and analysis of cryptography. For inputing B and C, an algorithm based on rightshift kary reduction proposed by Sorenson was presented for finding the integers x and y which satisfy the least significant bits of Bx-Cy were 0,i.e., Bx-Cy=0 (mod 2e) where positive integer e was a constant. It could do a lot of right shifts and reduce a large number of cycles with taking advantage of the algorithm for finding the integers x and y. A fast GCD algorithm was proposed combined with modulus algorithm. When the size of the input was n bits, the worst complexity of the fast GCD algorithm was still 0 (n2) ? In the best case, the complexity of the proposed algorithm could achieve 0 (n Iog2 n log log n) . The experimental data show that actual implementations given input about more than 200000 bits, the fast GCD algorithm is faster than the Binary GCD algorithm, and the fast GCD algorithm is twice as fast as the Binary GCD algorithm for 1 million bits of input. 英文关键词 Key words: Greatest Common Divisor (GCD) algorithm; Euclidean algorithm; binary Greatest Common Divisor (GCD) algorithm; rightshift kary reduction; integer greatest common divisor algorithm 0引言 求最大公约数(Greatest Common Divisor,GCD) 算法在计算代数、密码学中都有广泛的应用。文献[1] 第二 ?在查阅一些引用了该文献的文章时发现, 所有的文章都是Jebelean作为主 要 ,而且国外文章有共同一作的说法,所以, 这里按照固有习

文档评论(0)

ggkkppp + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档