搜索资源列表
7_Rsa
- RSA公钥加密算法基于大整数因式分解困难这样的事实。 选择两个素数,p,q。(一般p,q选择很大的数) 然后计算 z=p*q f=(p-1)(q-1) 选择一个n,使gcd(n,f)=1(gcd代表greatest common divider,一般n也选择一个素数), n和z就作为公钥。 选择一个s,0<s<f,满足n*s % f=1,s就作为私钥。-RSA public key encryption alg
fenjiezhiyinshu
- 软件简介: 你只需要输入一个大于2的数,就能自动判断这个数是否是素数,如果不是素数就自动分解质因数。-software descr iption : you only need to import a few of the more than 2, will automatically judge whether the number is prime, If not automatically prime factor decom
gongxiang
- 寻找1-100之间的水仙花数的源程序 三角形面积 素数 追加纪录 乘法口诀。大家都可以随便下载 资源共享嘛 -find 1-100 narcissi between the number of source-triangle area of a few additional records multiplication rhymes. We all can freely download the sharing of resources
prime_breakup
- 6~200内每个偶数的素数分解 略做修改可以输出任意数偶数内的素数分解.-6 ~ 200 each even-decomposition of the slightly modified to be arbitrary number of output even within the prime decomposition.
fermat
- 实现素性检测。但不能实现太大的数,只能在小数范围内,而又不能完全确定就是素数,只能粗略估计。-achieve Primality Testing. But too few achieve, only in a minority within, and is not fully ascertained is the prime, only a rough estimate.
math
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -Between 101-200 to determine the number of prime numbers, and output all prime numbers. 1. Program analysis: methods to
MPI_Prime
- MPI并行程序设计: 对于输入的无符号长整型数,统计小于该数的所有素数的个数。-MPI parallel programming: For input unsigned long integer, statistics less than the number of the number of all prime numbers.
VCRSA
- 用RSA算法加解密8位16进制数,在功能设计方面与南京东大移动互联技术有限公司的数字基带仿真实验软件基本相同,如素数的选择,加密指数的获取范围都是可以自定义的。在加密过程中,十六进制转化为二进制并进行适当的分组。由于在设计的当时时间较为紧迫,解码过程未能实现十六进制的还原。-RSA encryption algorithm with eight hexadecimal number 16, in the functional desig
EUCLID
- 本程序完成了欧几里得算法求最大公约数、扩展欧几里得算法求乘法逆元和素性检验判断输入的数是否为素数-This procedure for the completion of the Euclid algorithm for greatest common divisor, extended Euclid algorithm for multiplication and inverse primality test to determine
ch5
- Status CreateSMatrix(RLSMatrix &M) { // 创建稀疏矩阵M int i Triple T Status k printf("请输入矩阵的行数,列数,非零元素数:") scanf("%d,%d,%d",&M.mu,&M.nu,&M.tu) M.data[0].i=0 // 为以下比较做准备 for(i=1 i<=M.tu i++) {
_nankai100doc
- 请编写一个函数jsValue(int m,int k,int xx[]),该函数的功能是:将大于整数m且紧靠m的k个素数存入数组xx传回。 最后调用函数writeDat()读取10组数据,分别得出结果且把结果输出到文件out.dat中。 部分源程序存在文件prog1.c中。 例如:若输入17 5 则应输出:19,23,29,31,37。 -Please prepare a function jsValue (int
c1
- 将大于整数m且紧靠m的k个素数存入数组-Will be greater than the integer m and m close to the k-prime numbers into an array
DSA
- Digital Signature Algorithm (DSA)是Schnorr和ElGamal签名算法的变种,被美国NIST作为DSS(DigitalSignature Standard)。算法中应用了下述参数: p:L bits长的素数。L是64的倍数,范围是512到1024; q:p - 1的160bits的素因子; g:g = h^((p-1)/q) mod p,h满足h < p - 1, h^(
lllAppSuShu
- 素数判断计算器 使用说明: | | 用户可以在第一个文本框内输入想要判断的数字,确认后,点击确定,该素 | |数判断器将判断出其是否为素数,并且在第二个文本框中显示结果。如果为素数,则 | |将以蓝色文字显示;如果不是素数,则将以红色文字显。在使用过程中,随时点击关 | |闭按钮,即可关闭窗口,退出判断器。-To determine the use of prime number calculator Descr i
RSAtool
- 这学期刚学密码学,RSA算法相对简单,于是写了这个小软件.开发环境:VC++6.0。 RSA的安全性依赖于大数分解。公钥和私钥都是两个大素数。据猜测,从一个密钥和密文推断出明文的难度等同于分解两个大素数的积。 数据加密算法RSA的关键在于大素数的生成,本软件采取数组形式解决大素数的存储和运算问题,可生成超过1024位的十进制数的大素数,以应用于数据加密。 RSA的缺点主要有:产生密钥很麻烦,受到素数产生技术的限制,因
Sieve
- Sieve 是一个基于对话框的程序,使用了著名的Eratosthenes素数算法来计算2和所指定的数之间存在的素数的数量。是一个多线程应用程序。-Sieve is a dialog-based procedures, the use of the famous Eratosthenes algorithm to calculate the prime numbers 2 and designated by the number that
IP-Programing
- 1。演示程序中增加了三个鼠标功能的演示程序与真彩色图 像像素数据的显示。 2、新增了四个菜单,即分水岭算法、线段表新应用、论文例图和应 用模块,它们都是交稿后到最近这段时间里所做的工作。新增内 容都是在此编程环境下完成的。 3、分水岭算法菜单中给出了分割粘连图像的四种方法。 4、线段表新应用菜单给出了用种子填色法实现的连通区域分割方法, 它比线段编码法简单,还介绍了用线段表实现数 学形态学
pb
- 一些大学生PD实验的代码和设计。是一个学生信息管理系统,可以输入学生信息数据。以及求水仙花数,求素数之类的小程序-Some college PD code and design of experiments. Is a student information management system, students can enter data. And for a few daffodils, and prime numbers, su
Euler_fuction
- Euler函数: m = p1^r1 * p2^r2 * …… * pn^rn ai >= 1 , 1 <= i <= n Euler函数: 定义:phi(m) 表示小于等于m并且与m互质的正整数的个数。 phi(m) = p1^(r1-1)*(p1-1) * p2^(r2-1)*(p2-1) * …… * pn^(rn-1)*(pn-1) = m*(1 - 1/p1)*(1
shiyan12
- 编制具有如下原型的函数prime,用来判断整数n是否为素数:bool prime(int n) 而后编制主函数,任意输入一个大于4的偶数d,找出满足d=d1+d2的所有数对,其中要求d1与d2均为素数(通过调用prime来判断素数)。如偶数18可以分解为11+7以及13+5;而偶数80可以分解为:43+37、61+19、67+13、73+7。 提示:i与d-i的和恰为偶数d,而且只有当i与d-i均为奇数时才有可能成为所求的“数对