关键字  
 文件名称: VC_RSA一、RSA基本原理

对明文分组M和密文分组C,加密与解密过程如下:

C = POW (M , e) m下载  收藏√  我顶↑
  所属分类: Crypt_Decrypt algrithms
  开发工具: Visual C++
  文件大小: 1919 KB
  上传时间: 2006-04-29
  下载次数: 74
  提 供 者: 烟翔
 详细说明:一、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
 输入关键字,在本站40万海量源码库中尽情搜索:  帮助
 [rsa1.03.zip] - rsa算法实现,包含文档
 [vc-rsanew.ra20050713.rar] - 简单的rsa算法,适合新手学习使用,没有什么专业价值
 [密码算法库libtomcrypt-0.96.rar] - 这是信息安全方面的,密码算法的列程,通过它可以了解一些密码算法的知识!
 
 [rfc2.rar] - md5算法C程序参考中文版,绝对可用!经编译可用!
 [69491726Vigenere(TC).rar] - 学习一个加密程序,大家自己完善功能,仅供学习
 [isprime.rar] - 判断是不是大素数,的快速算法,适用于公钥加密算法
 [rsaFinal.rar] - 一个rsa算法的完整实现,有超长密钥
 [一个rsa的类的源代码.zip] - 一个rsa源代码,对各种字符串进行加密解密,包含汉字,数字
 [Des.JAVA.rar] - des加密解密 源代码 java版的。可以用呀
相关函数/类:
CString
文件列表(点击判断是否您需要的文件):
  VC_RSA
  ......\CCommon.cpp
  ......\CCommon.h
  ......\CDSA.cpp
  ......\CDSA.h
  ......\CRSA.cpp
  ......\CRSA.h
  ......\Debug
  ......\ReadMe.txt
  ......\res
  ......\resource.h
  ......\RSA.APS
  ......\RSA.clw
  ......\RSA.cpp
  ......\RSA.dsp
  ......\RSA.dsw
  ......\RSA.h
  ......\RSA.ncb
  ......\RSA.opt
  ......\RSA.plg
  ......\RSA.rc
  ......\RSADlg.cpp
  ......\RSADlg.h
  ......\StdAfx.cpp
  ......\StdAfx.h