搜索资源列表
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 algorithm based on the integer fa
BigInteger_src
- C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random ran
RSA
- 使用RSA算法对一个数字进行加密和解密。可以自由指定p,q的值,并且当输入数字不是素数时,程序会给出提示,或自动指定一个素数。
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^((p-1)/q) mod p > 1; x:x
RSA解密和加密算法的实现和应用
- 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,
rsa1l
- /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled He
RSA-lx
- /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled He
ALPU
- ALPU加密芯片历经ALPU-04,-05,-B,-E,-MT/MR几个系列的发展,加密性能以及相关技术参数已经趋于完善,可以足够程度的满足客户各类需求。 公司产品使用AES-128对称加密技术,具有很强的加密性能以操作上的灵活性。 相比其他公司的加密芯片,ALPU加密芯片有很高的技术优势。 公司现行推出的产品主要有ALPU-MT,ALPU-MR,ALPU-P以及ALPU-M几款,不同型号的产品在市场定位以及操作模式上有很大出入,具体如下: 供应Neowin
RSA_java
- 带界面的RSA算法,软件包中含有可执行程序,功能有自动生成随机素数P、Q,公钥,密钥,对数字进行加密解密。-Interface with the RSA algorithm, packages containing executable programs, automatic generation of random functions of prime numbers P, Q, a public key, keys for encryption and decryption of digit
rsa
- 1) 找出两个相异的大素数P和Q,令N=P×Q,M=(P-1)(Q-1)。 2) 找出与M互素的大数E,用欧氏算法计算出大数D,使D×E≡1 MOD M。 3) 丢弃P和Q,公开E,D和N。E和N即加密密钥,D和N即解密密钥。 -1) to identify two different large prime numbers P and Q, so N = P × Q, M = (P-1) (Q-1). 2) to identify and M large numbers cop
BasicRSA_latest.tar
- RSA ( Rivest Shamir Adleman )is crypthograph system that used to give a secret information and digital signature . Its security based on Integer Factorization Problem (IFP). RSA uses an asymetric key. RSA was created by Rivest, Shamir, and Adleman i
RSA
- RSA算法实验报告和代码 1.选取两个素数p,q(不可相差悬殊) 2.计算n=pq,f(n)=(p-1)(q-1) 3.选取e,满足1<e<f(n),则gcd(e,f(n))=1 4.计算d,满足de=1 mod f(n)。一般d>=[n的四分之一方],(e,n)为公钥,(p,q,d)为私钥,将明文0,1序列分组,使每组十进制小于n。c=[m的e次方] mod n,m=[c的d次方] mod n。-RSA algorithm and code an experi
rsa
- rsa简单算法 输入p q e等加密元素,然后根据提示可进行解密-rsa Algorithm Analysis
1008
- Julius Caesar曾经使用过一种很简单的密码。对于明文中的每个字符,将它用它字母表中后5位对应的字符来代替,这样就得到了密文。比如字符A用F来代替。如下是密文和明文中字符的对应关系。 密文 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 明文 V W X Y Z A B C D E F G H I J K L M N O P Q R S T U 你的任务是对给定的密文进行解密得到明文。 你需要注意
PublicKeyEncryption_algorithm_VC
- RSA加密算法的VC++代码实现。 由选定的P,Q以及E来计算私钥D-RSA encryption algorithm VC++ code. Selected by the P, Q and E to calculate the private key D
javaRSA
- 带界面的RSA算法,软件包中含有可执行程序,功能有自动生成随机素数P、Q,公钥,密钥,对数字进行加密解密。-Interface with the RSA algorithm, packages containing executable programs, automatic generation of random functions of prime numbers P, Q, a public key, keys for encryption -of random functions of
RSA
- 用RSA算法实现对字符串的加密及解密。其中质数p q以及私钥都可以自行设定。-String encryption and decryption using the RSA algorithm. Primes pq, and the private key can set their own.
New-folder-(4)
- We begin with choosing two random large distinct primes p and q. We also pick e, a random integer that is relatively prime to (p-1)*(q-1). The random integer e is the encryption exponent. Let n = p*q. Using Euclid s greatest common divisor a
RSA
- 特殊情况下(|p-q|<2*N开4次方)破解RSA,因式分解大数-RSA crack under special circumstances, factoring large numbers
rsa
- 1.问题描述 RSA密码系统可具体描述为:取两个大素数p和q,令n=pq,N=(p-1)(q-1),随机选择整数d,满足gcd(d,N)=1,ed=1 modN。 公开密钥:k1=(n,e) 私有密钥:k2=(p,q,d) 加密算法:对于待加密消息m,其对应的密文为c=E(m)=me(modn) 解密算法:D(c)=cd(modn) 2.基本要求 p,q,d,e参数选取合理,程序要求界面友好,自动化程度高。 4. 实现提示 要实现一个真实的RSA密码系统,主要考虑对大整数的处理。P