大整数基本运算研究报告与实现分析.docxVIP

大整数基本运算研究报告与实现分析.docx

  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文档。上传文档
查看更多
大整数乘法的实现与分析 摘要 随着计算机信息安全要求的不断提高,密码学被大量应用到生活中。 RSA、 EIGamal、DSA、ECC等公钥密码算法和数字签名算法都建立在大整数运算的基础上, 比较耗时的大整数乘法、除法、模乘、幕运算、幕乘等运算却被上述算法大量使用, 它们的运算速度对这些算法的高效实现起着重要的作用,如何快速实现上述几种运算 是公钥密码领域普遍关注的热点问题。 本文基于32位的系统,首先采用模块化的思想建立大整数运算库的基础框架,在 实现一些辅助函数后在此框架上讨论并实现多精度大整数的基本加法、减法、乘法、 除法、平方算法、缩减、模乘、模幕乘等算法。所用程序均米用 C/C++语言编写,所 采用的优化也均建立在 C/C++语言这一层面上,在保证算法有足够高的效率的同时力 求代码清晰易懂,函数接口简单明了,具有可移植性和稳定性。 关键词:多精度大整数,Comba, Montgomery,二分查找,笔算 注:本设计 <论文)题目来源于企业工程。 Abstract Nowadays, as computer information security requirements improve continuously, the cryptology has been widely applied to life. Public key cryptographic algorithms and digital sig nature algorithms such as RSA, ElGamal, DSA, ECC are all base on multiple precisi on arithmetic. Multiple precision multiplication, Division, modular multiplication ,exponen- tiation, modular exponentiation which need more working time is used by public key cryptographic algorithms widely, their speed is very importa nt to the impleme ntatio ns of those algorithms. How to fast implement those arithmetic above is the hot topic in the public key cryptographic field. This paper is based on the 32 bit system. First of all,we found the modular foundation of multiple precision arithmetic library。After some auxiliary function is formed, we discuss and impleme nt the multiple precisi on in teger basic additi on ,Subtracti on, multiplicati on,, kinds of square algorithms,divisio n, reduct ion, and some relati onal fun cti on. All the algorithm discuss in this paper is implement entirely in portable ISO C/C++and the optimization of those algorithms implementations is built on the C/C++ Ianguage level. the algorithm has high eno ugh to en sure the efficie ncy of the code at the same time strive to clearly un dersta nd, simple in terface function with portability and stability. Key words:Multiple Precisio n In teger,Comba,M on tgomery,B inary search, Writte n calculati on 目录 个人资料整理 仅限学习使用 1绪论 1.1题目的背景 科学技术和网络的发展使计算机深入到了各行业的方方面面,计算机在带来方便和提 高了工作效率的同时却也带来了各种各样的新问题,其中信息安全问题

文档评论(0)

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

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

1亿VIP精品文档

相关文档