A method of effecting secure electronic communication with a correspondent for a Diffie Hellman key exchange, the method including selecting a field size p in the form p=hq + 1, where q is a prime number that is one plus a factorial number b, such that q = (b! + 1), and h is a cofactor, such that p=hq + 1 is prime; selecting a generator integer g whose order modulo p is the prime q or is divisible by q; choosing a private key x; computing a public key gX mod p by raising said generator g to the power of said private key x, using arithmetic modulo said prime field size p; sending said public key gX mod p to a correspondent; receiving, from the correspondent, a second public key B comprising g raised to a second private key y selected by the correspondent, in the form gy; creating a key Bx from the received second public key B, by raising said second public key B to the power of said private key x, using arithmetic modulo said prime field size p and using the key Bx for secure electronic communications with the correspondent.
展开▼
机译:一种利用与Diffie Hellman密钥交换的对应者的安全电子通信的方法,该方法包括选择形式 p = hq / he> hq / i> + 1,其中 q i>是一个加上阶乘数字 b的素数, i>使得 q i> =( b ! i> + 1),并且 h i>是一个辅助因子,使得 p = hq i> + 1是素数;选择一个发电机整数g,其顺序modulo p i>是prime q i>或被 q可分离; i>选择私钥 x; < / i>计算公钥 g x sup> i> mod p i>通过将所述发电机 g i>升高到所述私人的力量键 x, i>使用算术模式表示Prime字段大小 p; i>发送所述公钥 g x sup> i> mod p i>对记者;从对应者接收第二公钥 B i>,其包括G卷起的G卷起由对应者选择的第二私钥Y,以G Y SUP>;从收到的第二公钥 b i>创建一个密钥 b x sup> i>,通过培养所述第二公钥 b i>来所述私钥X的力量,使用算术Modulo表示Prime字段大小 P i>,并使用键 B x sup> i>,用于与对应者的安全电子通信。
展开▼