首页 安全技术 系统安全     /    大数运算库gmp在vs2010环境下的配置实例

大数运算库gmp在vs2010环境下的配置实例

上传者: hello73world | 上传时间:2023/12/25 7:07:23 | 文件大小:932KB | 文件类型:rar
大数运算库gmp在vs2010环境下的配置实例
rsa算法是一种非常安全的不对称密钥加密算法,是很多密码产品和安全软件的基础,在共享软件使用rsa算法的私钥产生注册码,能有效抵御破解。
rsa算法的安全性取决于密钥的长度,最少需要1024位,而编译器提供的数据范围,最大也只有64位,即使浮点数,也远远无法满足算法的要求,这就必须使用大数运算库。
gmp是非常优秀的大数运算库,但是它并不是转为vc设计,想要在vc中使用,尤其是vs2010环境中使用,配置非常麻烦,这花了我一周的时间,才链接配置成功,在此记录下来配置方法,一方面是为了加强自己的记忆,另一方面是为了帮助有需要的朋友。
配置方法在vs2010,unicode编码下,debug和release模式下编译成功,详细配置方法在文件中,源代码包括rsa加密解密代码,你可以直接拷贝到自己的代码中。
rsa公钥私钥的生成可参考rsatool软件。

文件下载

资源详情

[{"title":"(22个子文件932KB)大数运算库gmp在vs2010环境下的配置实例","children":[{"title":"BigIntTest","children":[{"title":"BigIntTest.suo <span style='color:#111;'>27.50KB</span>","children":null,"spread":false},{"title":"Release","children":[{"title":"BigIntTest.exe <span style='color:#111;'>1.72MB</span>","children":null,"spread":false}],"spread":true},{"title":"BigIntTest.sln.docstates.suo <span style='color:#111;'>2.01KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BigIntTest.exe <span style='color:#111;'>200.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"BigIntTest.sln <span style='color:#111;'>897B</span>","children":null,"spread":false},{"title":"gmp在vs2010环境配置.txt <span style='color:#111;'>953B</span>","children":null,"spread":false},{"title":"BigIntTest","children":[{"title":"ReadMe.txt <span style='color:#111;'>3.12KB</span>","children":null,"spread":false},{"title":"BigIntTest.h <span style='color:#111;'>466B</span>","children":null,"spread":false},{"title":"BigIntTest.cpp <span style='color:#111;'>4.31KB</span>","children":null,"spread":false},{"title":"BigIntTestDlg.cpp <span style='color:#111;'>5.46KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"BigIntTest.rc2 <span style='color:#111;'>676B</span>","children":null,"spread":false},{"title":"BigIntTest.ico <span style='color:#111;'>66.19KB</span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'>1.68KB</span>","children":null,"spread":false},{"title":"BigIntTest.vcxproj.filters <span style='color:#111;'>2.16KB</span>","children":null,"spread":false},{"title":"BigIntTest.aps <span style='color:#111;'>104.21KB</span>","children":null,"spread":false},{"title":"BigIntTest.vcxproj <span style='color:#111;'>7.10KB</span>","children":null,"spread":false},{"title":"BigIntTest.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"BigIntTestDlg.h <span style='color:#111;'>762B</span>","children":null,"spread":false},{"title":"BigIntTest.rc <span style='color:#111;'>11.17KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>234B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_18451809:
    一毛不值啊。楼主弄了一个星期,你这是多low啊2018-09-27
  • weixin_41241218:
    骗人的,还要再去下载库2018-09-22
  • qq_38360541:
    adfkskjhfsdjks2018-06-24
  • tsmgycao:
    东西不错,自己配置了一下,可以用2015-12-02
  • hustjbt:
    可用,分数有点过高了2015-03-09

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明