搜索资源列表
StringMatch
- 分别用KMP、Monte Carlo和Las Vegas算法编制3个程序, 随机生成不小于5000对的、长度不等的01串X和Y(三个程序生成相同的串),然后统计算法的执行时间、Monte Carlo算法出错的比率,并根据运行结果对三种算法进行深入的比较。注意, 先利用本题下方所给素数实现上述算法,学完素数判定算法之后, 将该算法编程,产生少量的大素数并用数组保存起来, 以供上述随机算法使用(素数判定算法写在上述随机算法之外)。 -Were used to KMP, Monte
RSA_make_by_matlab
- RSA算法matlab实现,说明:由于能力有限,我并没有编写产生大素数的程序,在实验时就采用手动的写如两个不同的较小的素数。-RSA algorithm matlab implementation, note: Due to limited capacity, I do not have a large prime numbers prepared by the procedure, in the experiments on the use of manual writing, such as
primefast
- 区间素数prime统计快速算法 1到2147483647范围-区间素数统计快速算法
modular
- 用c++实现的检测是否为素数的问题,算法采用的是随机算法-Achieved with the detection c++ whether the prime problem, the algorithm uses a random algorithm
java
- 输出杨辉三角形,素数的算法,和一些简单的编程-Output Triangle, primes algorithm, and some simple programming
rsa-cpp
- RSA公钥加密算法是1977年由Ron Rivest、Adi Shamirh和LenAdleman在(美国麻省理工学院)开发的。RSA取名来自开发他们三者的名字。RSA是目前最有影响力的公钥加密算法,它能够抵抗到目前为止已知的所有密码攻击,已被ISO推荐为公钥数据加密标准。RSA算法基于一个十分简单的数论事实:将两个大素数相乘十分容易,但那时想要对其乘积进行因式分解却极其困难,因此可以将乘积公开作为加密密钥。 -Public key encryption algorithm RSA in 1
RSA
- 可以实现res算法的加密解密过程,有步骤判断大素数的-Res algorithm can achieve the process of encryption and decryption, there are steps to determine the number of large prime
shanks
- 求离散对数的shanks算法,要求如下: 实现计算 Zp 中计算离散对数的 Shanks 算法,基本要求如下: 1)p 是一个小素数( 小于 32 bit ),a 是一个本原元。程序的输入为(p, a, b), 输出为 logab ( mod p) (可以用 log3525 (mod 809)等作为测试); 2)采用快速模指数算法求幂(如am),采用扩展欧几里得算法求逆( 如a-i (mod p) ); 3)采用一种好的排序算法对 L1、L2 排序; 4)采用概率算
jiamisuanfa
- 对个一窜字符流进行大素数的加密算法,此法是基于大素数分解的原理进行-On the one-character stream channeling large prime numbers encryption algorithms, this method is based on large prime numbers decomposition principle
2
- 回文素数的算法源码,支持在C++环境下编程-Palindromic primes algorithm source code, support for C++ programming environment
RSAcomplicated
- RSA算法的C++实现。RSA公钥加密算法是1977年由Ron Rivest、Adi Shamirh和LenAdleman在(美国麻省理工学院)开发的。RSA取名来自开发他们三者的名字。RSA是目前最有影响力的公钥加密算法,它能够抵抗到目前为止已知的所有密码攻击,已被ISO推荐为公钥数据加密标准。RSA算法基于一个十分简单的数论事实:将两个大素数相乘十分容易,但那时想要对其乘积进行因式分解却极其困难,因此可以将乘积公开作为加密密钥。-RSA Algorithm C++
su
- 学习密码学时用到的测试素数的一种算法编成的源代码,可以进行识别。-Password hours learning test used an algorithm prime numbers compiled source code, can be identified.
Interpolation
- /************************************************************************* * 函数名称: * Interpolation() * 参数: * LPSTR lpDIBBits - 指向源DIB图像指针 * LONG lWidth - 源图像宽度(象素数) * LONG lHeight - 源图像高度(象素数) * FLOAT x - 插值元素的x坐标 * FLOAT y
RSA
- 使用rsa算法进行加密解密与签名验证(使用大素数),基于VC++6.0开发,使用MFC。-Encryption and decryption using the rsa algorithm and the signature verification (using the large prime number), based on VC++6.0 development, using MFC.
2
- 加密算法的实现,通过dos界面显示。通过素数选择排列-Encryption algorithm, through the dos screen displays
all
- C语言写的大部分算法问题,比如回文数,素数,等。-Most algorithms written in C language problems, such as palindrome, prime, and so on.
proj1_1
- 求小于等于n 的所有的素数,算法时间复杂度为O(根号下n)-Less than or equal n, find all the prime numbers, the algorithm time complexity is O (square root of the next n)
data_manipulation
- 包含一些比较常见的数据操作算法:素数判断、矩阵转置、将数组中m个数循环后移n个位置、调用时间函数求运行时间、调用相关time函数进行日期推算、矩阵鞍点、链表的相关操作等-Contains some of the more common data manipulation algorithms: Prime judge, matrix transpose, the array m the number of cycles shifted n positions, call the time fun
MC
- 此代码是用概率算法来求素数,输入n值便可以得到n以内的所有素数,概率算法相比于确定性算法效率快乐很多,代码中用到了二个经典函数int MillRab(int n) int RepeatMillRab(int n,int k) 计算机面试时考官常问有关这二个函数的问题。-This code is to use probabilistic algorithms to find prime numbers, enter the n value will be able to get all prime
RSA
- 这是一个我自己做的rsa算法,使用的是1024位的大素数-This is one of my own compiler, the compiler compiler theory is the prototype of Kazakhstan ~~~~~