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

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

于 2022-05-29 发布 文件大小:1.04 MB
0 184
下载积分: 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 个回复

  • 数值分析与估值
    本文件是针对数值分析与估值课程里面的一些课后题的matlab解答方案,具体题目间word文档。
    2022-08-20 17:13:43下载
    积分:1
  • 多元散射校正,用于近红外散射数据处理,增强信噪比
    多元散射校正算法,用于近红外散射数据处理,增强信噪比-function [Xcorrect]=msc(X,Xref) msc pretreate the samples X with the Multiplicative Scatter Correct Input X:the matrix of the sample spectra to be Correct Xref:the matrix of the sample spectra to be ref Output Xcorrect:the sample spectras was Corrected from the X Programmer: zhimin zhang @ central south university on dec 13 ,2007 Reference: Chemometrics and Intelligent Laboratory Systems 29 (1995) 233-241
    2023-09-03 21:40:03下载
    积分:1
  • C++动态规划的例子,找零钱的经典问题编程
    C++动态规划的算法例子,找零钱的经典问题编程-C++ Dynamic programming algorithm for example, to find the classic problem of small change programming
    2023-05-04 21:50:03下载
    积分:1
  • 一个小巧的蚁群演示程序,C语言源码,在TC2.0下调试成功!...
    一个小巧的蚁群算法演示程序,C语言源码,在TC2.0下调试成功!-A small demo program ant colony algorithm, C language source code, in TC2.0 debugging success!
    2022-03-18 12:01:14下载
    积分:1
  • 牛顿
    牛顿-拉格朗日插值法C++源代码,最新修改的通码,网友可以-Newton-Lagrange interpolation C source code, the latest revision of immigration code, net surfers can s
    2022-03-02 14:15:10下载
    积分:1
  • 实时运动边缘检测
    这是由作者 ofOh 演示实现等。al.,基于离散余弦变换,可选性 2012.Thanks 的实时运动检测。
    2022-09-27 21:45:08下载
    积分:1
  • 子集和数问题,回溯实现
    子集和数问题,回溯法实现-subset of several problems that back Method
    2022-02-11 12:20:43下载
    积分:1
  • 一个简单的计器,用的是vb制作,能完成简单 的四则运.
    一个简单的计算器,用的是vb制作,能完成简单 的四则运算.-A simple calculater,written in VB,and can realize simple four-arithmetic operations.
    2022-02-05 14:59:47下载
    积分:1
  • c++文件翻转
    Make your rcopy robust against all kinds of user or operation system errors. That means – check all return values for operating system errors (mostly I/O errors) and command line arguments for user errors. Stick to our files and interfaces that we provide via SubVersion. You may add methods (e.g. for file size or reversing the buffers content), but you are not allowed to change the signature of any method specified by us.
    2022-02-21 11:52:25下载
    积分:1
  • this is Matlab Circular convolution file name is circonv.m
    this Matlab Circular convolution file name is circonv.m-this is Matlab Circular convolution file name is circonv.m
    2022-03-31 20:23:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载