首页 | 本学科首页   官方微博 | 高级检索  
     

RSA加密体制的密钥生成技术的研究
引用本文:李倩.RSA加密体制的密钥生成技术的研究[J].现代计算机,2006,1(10):4-7,20.
作者姓名:李倩
作者单位:南京邮电大学计算机学院,南京210003
摘    要:RSA是一种非对称加密算法,在公钥加密标准和电子商业中被广泛应用.RSA的可靠性基于大整数的分解难度.事实证明,因子分解的难度随着密钥长度的增加而增加.本文讨论密钥长度为1000位以上密钥生成技术,这种技术主要涉及通过素性检测生成一个大素数.运用Rabin-Miller算法检测素数,并在成功生成两个大素数之后,运用欧几里德算法在默认公钥的前提下求得私钥,然后就可运用公钥和私钥进行加密与解密了.

关 键 词:加密  公开密钥密码  Rabin-Miller算法  欧几里德算法
收稿时间:2006-07-17
修稿时间:2006-07-17

The Analysis of Key Generating in RSA
LI Qian.The Analysis of Key Generating in RSA[J].Modem Computer,2006,1(10):4-7,20.
Authors:LI Qian
Affiliation:Department of Computer and Technology, Nanjing University of Posts and Telecommunications, Nanjing 210003 China
Abstract:In cryptography, RSA is an algorithm for public key encryption. RSA is widely used in electronic commerce protocols, and is believed to be secure given sufficiently long keys. It was proved that the longer the length of the key, the harder it is to be factored. In the text, we will discuss the realization of the key generation, when the user need a key length of more than 1024 bits. In this procedure, we need two large prime numbers. So we must first generate two odd integers and then test the primality of these two odd integers. As an example, one of the more efficient and popular algorithm, the Miller-Rabin algorithm, is described in this text. After generating two prime integers successfully, we can use Euclid algorithm to calculate the public-key and the private-key easily. In the end, the user can use the public key to encrypt and the private-key to decrypt.
Keywords:RSA
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号