RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s
标签: person_key RSA 算法
上传时间: 2013-12-14
上传用户:zhuyibin
傅立叶变换是信号处理时最常用的算法之一,实现时域与频域之间的转换,对人们研究各种信号非常有用,本程序利用VC实现快速傅立叶变换算法
上传时间: 2014-01-03
上传用户:watch100
数字图像在产生过程中经常会受到噪音污染。因此,对于数字图像应该对其进行去噪音处理。在传统的基于傅里叶变换的信号去噪音方法中,可以使得信号和噪音的频带重叠部分尽可能的小,这样就可以在频域通过时,不需改变滤波方法而将信号和噪音分隔开来。但是,如果信号和噪音的频域重合时,用该方法进行噪音处理的效果就比较差。
上传时间: 2015-04-01
上传用户:从此走出阴霾
用途:数字图象处理算法的演示,包括: • 图象的DFT和逆DFT • 图象的FFT和逆FFT • 在图象中加入正弦噪声 • 图象的模板运算实现图象平滑和锐化 • 图象的直方图均衡化 • 图象的对比度拉伸 • 图象的中值滤波 • 图象灰度直方图的显示 • 若干频域滤波器 • 图象的镜像 • 图象的旋转(90度与任意角度) • 图象的放缩 • 其它小算法
上传时间: 2015-04-13
上传用户:lo25643
数字图像处理的源代码,含空域变换和频域变换及图像压缩算法
上传时间: 2013-12-22
上传用户:woshiayin
Matlab加扰解扰仿真系统,可以观察加解扰前后信号的时域和频域波形,有助于理解扰码的概念和解扰的过程
上传时间: 2015-04-21
上传用户:zukfu
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
我编写的利用trous(多孔算法)实现小波变换,利用‘db4’小波函数分解两层,其中卷积运算采用频域的fft算法,给出了仿真信号的处理结果。
上传时间: 2015-05-26
上传用户:蠢蠢66
·Matlab加扰解扰仿真系统,可以观察加解扰前后信号的时域和频域波形,有助于理解扰码的概念和解扰的过程
上传时间: 2015-06-06
上传用户:康郎
源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).
上传时间: 2013-12-26
上传用户:siguazgb