登录
首页 » 算法 » 快速 RSA 密码体制实现使用中国剩余定理

快速 RSA 密码体制实现使用中国剩余定理

于 2022-05-29 发布 文件大小:1.04 MB
0 159
下载积分: 2 下载次数: 1

代码说明:

/ / RSATestFast: 测试快速 RSA 实现 导入 java.math.* ; / / 为 BigInteger 导入 java.util.* ; / / 为随机 公共类 RSATestFast { 公共静态 void elapsedTime (长开始时间) { 长时间停止时间 = System.currentTimeMillis() ; 双 elapsedTime = ((双)(stopTime-startTime)) / 1000.0 ; System.out.println ("已用时间:"+ elapsedTime +"秒") ; } 公共静态 void main (字符串 [] args) { 随机 rnd = 新 Random() ; BigInteger m、 m1、 m2、 m3、 c、 s,s1 ; RSAPrivateKeyFast 爱丽丝 = 新 RSAPrivateKeyFast (1024,rnd,"爱丽丝") ; RSAPrivateKeyFast bob = 新 RSAPrivateKeyFast (1024,rnd,"鲍勃 ") ; m = 新 BigInteger ( "1234567890987654321012345678909876543210"+ "1234567890987654321012345678909876543210"+ "1234567890987654321012345678909876543210"+ "1234567890987654321012345678909876543210"+ "1234567890987654321012345678909876543210"+ "1234567890987654321012345678909876543210") ; System.out.println

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • It s simple implementation of Genetic Algorithm on 8
    It s simple implementation of Genetic Algorithm on 8-puzzle and as result it can say either there is or not a set of movement to go from initial state to a given final state.-It s simple implementation of Genetic Algorithm on 8-puzzle and as result it can say either there is or not a set of movement to go from initial state to a given final state.
    2022-02-21 02:51:52下载
    积分:1
  • C4.5源码
    当前最有影响的决策树算法是Quinlan于1986年提出的ID3和1993年提出的C4.5 4.5算法做出的改进(1)用信息增益率
    2023-01-15 02:40:04下载
    积分:1
  • 分子动力学模拟技术的源代码
    2022-03-21 10:57:09下载
    积分:1
  • 对各种图形判别程序
    对各种图形判别程序 -on various graphics discriminant procedures
    2022-07-21 22:43:27下载
    积分:1
  • pca的人脸识别
    利用该程序,可以实现人脸的识别,并且有测试的图片,能正确测试出识别率,但是不是很高,有望大家继续改进。希望对那些刚开始学算法的人有一定的帮助
    2022-02-15 00:04:50下载
    积分:1
  • 矩阵运,具体说明见程序中,在各个程序中都有详细的介绍
    矩阵运算,具体说明见程序中,在各个程序中都有详细的介绍- The matrix operation, concrete showing sees in the procedure, all has the detailed introduction in each procedure
    2022-11-26 21:40:03下载
    积分:1
  • 飞思卡尔线性ccd曝光程序
    飞思卡尔线性ccd曝光程序,自适应曝光,加了舵机,电机控制
    2022-03-05 00:02:47下载
    积分:1
  • 多用户MIMO预编码
    本代码详细的描述了多用户下行链路的误码率,对于初学者又很好的借鉴作用,当然如果代码看不太明白的话,您可以先看一些相关的文献,对一些基本的内容作一些了解,然后再看代码,会起到事半功倍的效果,谢谢合作。                                                                                                                                                      &
    2023-04-25 12:15:03下载
    积分:1
  • fpga直流电机程序
    资源描述大家互相学习,共同进步!fpga也是比较好的!
    2022-07-12 08:01:57下载
    积分:1
  • VB实现的线性卡尔曼滤波程序,简单易懂。适合初学者练习参考。...
    VB实现的线性卡尔曼滤波程序,简单易懂。适合初学者练习参考。-VB linear Kalman filtering procedures, simple and understandable. For beginners practice reference.
    2022-03-21 15:54:32下载
    积分:1
  • 696516资源总数
  • 106432会员总数
  • 11今日下载