文件名称:VC_RSA
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:5.39kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一、RSA基本原理
对明文分组M和密文分组C,加密与解密过程如下:
C = POW (M , e) mod n
M = POW(C , d) mod n = POW(POW( M ,e), d) mod n=POW( M,e*d)
其中POW是指数函数,mod是求余数函数。
其中收发双方均已知n,发送放已知e,只有接受方已知d,因此公钥加密算法的公钥为
KU={ e , n},私钥为KR={d , n}。该算法要能用做公钥加密,必须满足下列条件:
1. 可以找到e ,d和n,使得对所有M<n ,POW(M ,e*d)=M mod n .
2. 对所有 M<n,计算POW (M , e)和POW(C , d)是比较容易的。
3. 由e 和n确定d是不可行的
-one, the basic tenets of RSA expressly group M and cipher block C, encryption and decryption process is as follows : C = POW (M, e) mod n = M POW (C, d) mod n = POW (POW (M, e), d) mod n = POW (M, e * d), which is an exponential function POW, mod is the pursuit of the remaining functions. Transceivers which both known n, send e Fang known, the only known recipient d, therefore the public key encryption algorithm for public key e KU = (n), private key for KR = (d, n). The algorithm could be used to be a public key encryption, must meet the following conditions : 1. E can be found, and d n, making all the right M
对明文分组M和密文分组C,加密与解密过程如下:
C = POW (M , e) mod n
M = POW(C , d) mod n = POW(POW( M ,e), d) mod n=POW( M,e*d)
其中POW是指数函数,mod是求余数函数。
其中收发双方均已知n,发送放已知e,只有接受方已知d,因此公钥加密算法的公钥为
KU={ e , n},私钥为KR={d , n}。该算法要能用做公钥加密,必须满足下列条件:
1. 可以找到e ,d和n,使得对所有M<n ,POW(M ,e*d)=M mod n .
2. 对所有 M<n,计算POW (M , e)和POW(C , d)是比较容易的。
3. 由e 和n确定d是不可行的
-one, the basic tenets of RSA expressly group M and cipher block C, encryption and decryption process is as follows : C = POW (M, e) mod n = M POW (C, d) mod n = POW (POW (M, e), d) mod n = POW (M, e * d), which is an exponential function POW, mod is the pursuit of the remaining functions. Transceivers which both known n, send e Fang known, the only known recipient d, therefore the public key encryption algorithm for public key e KU = (n), private key for KR = (d, n). The algorithm could be used to be a public key encryption, must meet the following conditions : 1. E can be found, and d n, making all the right M
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VC_RSA/CCommon.cpp
VC_RSA/CCommon.h
VC_RSA/CDSA.cpp
VC_RSA/CDSA.h
VC_RSA/CRSA.cpp
VC_RSA/CRSA.h
VC_RSA/Debug
VC_RSA/folder.htt
VC_RSA/ReadMe.txt
VC_RSA/res
VC_RSA/resource.h
VC_RSA/RSA.APS
VC_RSA/RSA.clw
VC_RSA/RSA.cpp
VC_RSA/RSA.dsp
VC_RSA/RSA.dsw
VC_RSA/RSA.h
VC_RSA/RSA.ncb
VC_RSA/RSA.opt
VC_RSA/RSA.plg
VC_RSA/RSA.rc
VC_RSA/RSADlg.cpp
VC_RSA/RSADlg.h
VC_RSA/StdAfx.cpp
VC_RSA/StdAfx.h
VC_RSA
www.dssz.com.txt
VC_RSA/CCommon.h
VC_RSA/CDSA.cpp
VC_RSA/CDSA.h
VC_RSA/CRSA.cpp
VC_RSA/CRSA.h
VC_RSA/Debug
VC_RSA/folder.htt
VC_RSA/ReadMe.txt
VC_RSA/res
VC_RSA/resource.h
VC_RSA/RSA.APS
VC_RSA/RSA.clw
VC_RSA/RSA.cpp
VC_RSA/RSA.dsp
VC_RSA/RSA.dsw
VC_RSA/RSA.h
VC_RSA/RSA.ncb
VC_RSA/RSA.opt
VC_RSA/RSA.plg
VC_RSA/RSA.rc
VC_RSA/RSADlg.cpp
VC_RSA/RSADlg.h
VC_RSA/StdAfx.cpp
VC_RSA/StdAfx.h
VC_RSA
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.