搜索资源列表
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,
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
n_chouliujisuan
- 电力系统稳态潮流计算的程序,pq分解法,很经典,已经通过上机调试,运行成功-wentai
powerflow
- 潮流计算,用于潮流计算的PQ分解法C程序版,潮流计算,用于潮流计算的PQ分解法C程序版-power flow
RSA-Attack
- RSA加密算法的基于概率算法的攻击,由N求出PQ。-RSA encryption algorithm based on probabilistic algorithms attack, obtained by N the PQ.
rsn
- rsn算法RSA算法的描述 1、选取长度相等的两个大素数p和q,计算其乘积: n = pq 然后随机选取加密密钥e,使e和(p–1)(q–1)互素。 最后用欧几里德扩展算法计算解密密钥d,以满足 ed = 1(mod(p–1) ( q–1)) 即 d = e–1 mod((p–1)(q–1)) e和n是公钥,d是私钥 2、加密公式如下: ci = mi^e(mod n) 3、解密时,取每一密文分组ci并计算: mi = ci^d
RSA
- 用RSA算法实现对字符串的加密及解密。其中质数p q以及私钥都可以自行设定。-String encryption and decryption using the RSA algorithm. Primes pq, and the private key can set their own.
456
- RSA算法的C语言实现 1.密钥的产生 (1)选两个安全的大素数p和q。 (2)计算n=p×q,φ(n)=(p-1)(q-1),其中φ(n)是n的欧拉函数值。 (3)选一整数e,满足1<e<φ(n),且gcd(φ(n),e)=1。 (4)计算d,满足de≡1 modφ(n),即d是e在模φ(n)下的乘法逆元,因e与φ(n)互素,由模运算可知,它的乘法逆元一定存在。 (5)以{e,n}为公开钥,{d,n}为秘密钥。 2.加密 加密时首先将明文M比特串分组
pq
- Used for testing in user space.
PVARRAY_BATTERY_DOUBLE_DCDC
- 光伏并网,蓄电池储能双向DCDC,能正常运行,采用PQ控制-PVarray_grid_connected,running perfectly
psql-test.tar
- postgresql负载能力测试,c++和postgres多线程接口pq-postgres test postgres test postgres test postgres test postgres test postgres test postgres test postgres test postgres test
Hi3516A_PQ_V1.0.7.0
- Hisilicon PQ Tools (Control tools) for boars with a Hi3516 (Hi3516A, Hi3516D) or Hi3518 (Hi3518A, Hi3518C, Hi3518E and Hi3516C) series chip, and Ethernet port. It need the computer running the HiSilicon PQ Tools (Windows).
Hi3516A_Stream_V1.0.7.0
- Hisilicon PQ Tools (Stream tools) for boars with a Hi3516 (Hi3516A, Hi3516D) or Hi3518 (Hi3518A, Hi3518C, Hi3518E and Hi3516C) series chip, and Ethernet port. It need the computer running the HiSilicon PQ Tools (Windows).
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
电力系统课程设计
- 33节点系统潮流计算,风险计算 采用pq分解法进行编写,公式对应文档(33-node system power flow calculation, risk calculation)