摘要: Parameters:p , q (private, chosen)n=p*q (public, calculated)e (public, chosen)d (private, calculated)e*d mod=1. =(p-1)*(q-1); 阅读全文
posted @ 2013-11-09 00:58 丸子No1 阅读(201) 评论(0) 推荐(0) 编辑
摘要: The purpose of this algorithm is to enable two users to exchange a key securely that can then be used for subsequent encryption of messages. The algorithm itself is limited to the exchange of keys.Two publicly known parameters:1.prime number q2.integer g that is primitive root of q.Using these two p 阅读全文
posted @ 2013-11-09 00:50 丸子No1 阅读(137) 评论(0) 推荐(0) 编辑
摘要: three public parameters:1.160-bit prime number q is chosen;2.prime number p is selected with a length between 512 and 1024 bits , such that q divides(p-1).3.g is chosen to be of the form h^((p-1)/q)mod p. 1<g<p-1.With these numbers in hand, each user selects a private key and genertes a public 阅读全文
posted @ 2013-11-09 00:26 丸子No1 阅读(301) 评论(0) 推荐(0) 编辑