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

由 matlab RSA 加密

于 2022-05-15 发布 文件大小:1.19 kB
0 66
下载积分: 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 个回复

  • matlab_image
    MATLAB基本图形图像处理操作,包含图像增强,图像分割,特征提取,图像识别,灰度处理线性算法,文字处理等多个压缩包(MATLAB image processing and basic graphics, including image enhancement, image segmentation, feature extraction, image recognition, linear gray-scale processing algorithms, word processing and other compressed)
    2010-05-20 15:55:21下载
    积分:1
  • RECOVER
    比较反滤波和维纳滤波对一幅图像复原的效果。从两方面出发,一是对运动模糊和均值模糊复原的能力,二是抗噪能力,各种情况分别都进行了对比(Comparison of inverse filtering and Wiener filtering on an image restoration results. Proceed in two ways, first on the motion blur and the mean fuzzy recovery capability and noise immunity, all cases are compared separately)
    2010-06-02 03:44:47下载
    积分:1
  • fdtd_2D_demo_v_1_1
    A SIMPLE BUT USFUL 2D FDTD MATLAB CODE4(USFUL 2D FDTD MATLAB CODE4)
    2007-04-24 23:17:51下载
    积分:1
  • Digital-signal
    数字信号处理实验指导书(MATLAB版)实验代码(Digital signal processing experimental instructions (MATLAB version) Experimental code)
    2011-07-09 11:00:50下载
    积分:1
  • multipath_chann
    this program simulated multipath channel in environment using matlab program
    2015-01-29 09:04:29下载
    积分:1
  • trade
    专业交易分析和心理分析书籍。适合所有喜欢交易的人阅读。(Professional transaction analysis and psychoanalysis books.)
    2014-01-14 00:22:34下载
    积分:1
  • Shape_Recognition
    The program should recognize objects like circles, rectangles, and squares from the input image.
    2007-10-23 08:42:32下载
    积分:1
  • Unit_Commitment
    this is simple unit commitment
    2015-01-01 21:14:05下载
    积分:1
  • DOA估计
    DOA估计,这里面是国防科技大学阵列信号处理第三版里面所有程序。适合新手学习阵列信号处理有关的内容。有基于线阵和L阵列的DOA估计。还是非常不错的,有注释。
    2023-07-08 02:35:02下载
    积分:1
  • matlab-code
    最优化控制及其matlab实现,里面有很多程序的代码,很实用,希望大家多交流学习(Control and optimization matlab realize, there are many program code, very useful, I hope to learn more exchanges)
    2013-07-20 16:41:53下载
    积分:1
  • 696518资源总数
  • 105964会员总数
  • 17今日下载