搜索资源列表
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
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
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
firstGTK
- 一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 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 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如: WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71% HARDWORK=H+A+R+D+W+O+
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
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
linux
- ubuntu总结,都是一般小实验,每个都调试通过-a b c d e f g h i j k l m n o p q r s t
p-q
- 一个比较完整的快速分解法潮流程序,包括稀疏存储技术,节点优化等内容,是个强大可以计算大规模电力系统的潮流程序-A more complete decomposition of the trend of rapid procedures, including the sparse storage technology, optimizing the content node is a powerful large-scale power system can calculate the trend
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.
tr_103265v010102p0
- FEC MBMS LTE uation ETSI The attached java code LossGenerator.java and Random.java may be used to generate the loss traces independently. The java trace file can be d as follows: java LossVectorGenerator p q gBLER bBLER subsamp n seed offse
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
_mvwaddchnst
- Numerator and denominator coefficients for rational minimax Approximation P Q over (0.5,1.5).