登录
首页 » Matlab » 由 matlab RSA 加密

由 matlab RSA 加密

于 2022-05-15 发布 文件大小:1.19 kB
0 78
下载积分: 2 下载次数: 1

代码说明:

中输入相关: 所需的模量位长度, k 。 输出: 一个 RSA 密钥对,((N,e) 的) 其中,N 是两个素数的乘积的模数 (N = pq) 不超过 k 位的长度 ;e 是公共指数,数目少于和互质到 (p-1)(q-1) ;d 是私钥指数这样ed ≡ 1 (mod (p-1)(q-1))。 ---------- 摘要: n = 的 pq,p 和 q 哪里不同的素数。 皮皮、 φ = (p-1)(q-1) e < n 这种那个 gcd (e,皮皮) = 1 d = e-1 mod 皮皮。 c = me mod n,1 < m < n。 m = cd mod n。 ------------ 选择一个值的 e 从{3、 5、 17、 257、 65537} 重复 p ← genprime(k/2) 直到(p mod e) ≠ 1 重复 q ← genprime (k-k/2) 直到(q mod e) ≠ 1

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

发表评论

0 个回复

  • hopfield解决TSP问题
    说明:  人工神经网络实验之一,用Hopfield网络解决旅行商问题。文件中除源程序外还有word文档对算法,理论,问题描述,实验结果,实验分析的完整介绍(experimental artificial neural network, Hopfield network Traveling Salesman Problem. Apart from the source document but also have a word document of the algorithm theory, and the problem description, experimental results, experimental analysis of the complete briefing)
    2021-04-26 21:28:45下载
    积分:1
  • ham-code
    汉明码的编码与译码的简单小程序,大家可以借鉴,希望大家喜欢。(Hamming code for encoding and decoding of simple small program, we can learn from, hope you like.)
    2011-05-07 19:57:22下载
    积分:1
  • drtoolbox
    matlab的降维工具箱 从官网上下载的(Dimensionality reduction downloaded the official website matlab toolbox)
    2014-10-23 19:11:28下载
    积分:1
  • xpdl
    神经网络可用于分类和回归,该程序使用MATLAB编写,用来进行信号分类(Neural networks can be used for classification and regression, the program use of MATLAB, used for signal classification)
    2013-10-09 11:57:50下载
    积分:1
  • MatLab-7-Programming
    matlab7 the language of technical computing编程方法大全。(matlab books)
    2013-04-16 20:52:33下载
    积分:1
  • taskPower
    Compute the signal power
    2010-07-19 03:20:47下载
    积分:1
  • st
    说明:  S变换的源代码,实现对各种信号的频谱分析。该方法优越于短时傅里叶变换。(S transform source code, and the analysis of the spectrum of various signals. This method is superior to the short time Fourier transform.)
    2013-03-19 19:05:26下载
    积分:1
  • MUSIC--DOA
    基于MUSIC算法的信号DOA估计,内有详细原理等等(DOA of direction based on MUSIC )
    2015-01-19 11:46:57下载
    积分:1
  • Toolbox
    含有各种混沌时间序列参数(时间延迟,嵌入维数,关联维等)计算程序,及其介绍。(The program includes various chaotic time series parameters (time delay, embedding dimension, correlation dimension, etc.) and its introduction.)
    2019-04-10 19:37:29下载
    积分:1
  • SSIM 图像质量评价
    SSIM 图像质量评价,完整的源代码,是你学习图像质量评价的不二之选
    2022-01-26 06:11:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载