文件名称:7_Rsa
- 所属分类:
- 加密解密
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 792kb
- 下载次数:
- 0次
- 提 供 者:
- f***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
RSA公钥加密算法基于大整数因式分解困难这样的事实。
选择两个素数,p,q。(一般p,q选择很大的数)
然后计算 z=p*q f=(p-1)(q-1) 选择一个n,使gcd(n,f)=1(gcd代表greatest common divider,一般n也选择一个素数), n和z就作为公钥。
选择一个s,0<s<f,满足n*s % f=1,s就作为私钥。-RSA public key encryption algorithm based on the integer factorization great difficulties to the fact. Choice of two prime numbers, p, q. (General p, q very few options) and then calculate the z = p* q = f (p-1) (q-1) Choose a n, so gcd (n, f) = a (gcd representatives greatest common divider. n general also choose a prime number), n and z on as a public key. One's choice, 0
选择两个素数,p,q。(一般p,q选择很大的数)
然后计算 z=p*q f=(p-1)(q-1) 选择一个n,使gcd(n,f)=1(gcd代表greatest common divider,一般n也选择一个素数), n和z就作为公钥。
选择一个s,0<s<f,满足n*s % f=1,s就作为私钥。-RSA public key encryption algorithm based on the integer factorization great difficulties to the fact. Choice of two prime numbers, p, q. (General p, q very few options) and then calculate the z = p* q = f (p-1) (q-1) Choose a n, so gcd (n, f) = a (gcd representatives greatest common divider. n general also choose a prime number), n and z on as a public key. One's choice, 0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7_Rsa
.....\RsaKit
.....\......\BigInt.cpp
.....\......\BigInt.h
.....\......\Debug
.....\......\DemoDlg.cpp
.....\......\DemoDlg.h
.....\......\HelpDlg.cpp
.....\......\HelpDlg.h
.....\......\MainFrm.cpp
.....\......\MainFrm.h
.....\......\ReadMe.txt
.....\......\Release
.....\......\res
.....\......\...\dec.bmp
.....\......\...\div.bmp
.....\......\...\E.bmp
.....\......\...\euc.bmp
.....\......\...\hex.bmp
.....\......\...\mod.bmp
.....\......\...\mul.bmp
.....\......\...\N.bmp
.....\......\...\RsaKit.ico
.....\......\...\RsaKit.rc2
.....\......\...\sub.bmp
.....\......\...\toolbar.bmp
.....\......\Resource.h
.....\......\resource.hm
.....\......\RsaKit.aps
.....\......\RsaKit.clw
.....\......\RsaKit.cpp
.....\......\RsaKit.dsp
.....\......\RsaKit.dsw
.....\......\RsaKit.h
.....\......\RsaKit.ncb
.....\......\RsaKit.opt
.....\......\RsaKit.plg
.....\......\RsaKit.rc
.....\......\StdAfx.cpp
.....\......\StdAfx.h
.....\......\ToolDlg.cpp
.....\......\ToolDlg.h
.....\RsaKit.exe
.....\RsaKit
.....\......\BigInt.cpp
.....\......\BigInt.h
.....\......\Debug
.....\......\DemoDlg.cpp
.....\......\DemoDlg.h
.....\......\HelpDlg.cpp
.....\......\HelpDlg.h
.....\......\MainFrm.cpp
.....\......\MainFrm.h
.....\......\ReadMe.txt
.....\......\Release
.....\......\res
.....\......\...\dec.bmp
.....\......\...\div.bmp
.....\......\...\E.bmp
.....\......\...\euc.bmp
.....\......\...\hex.bmp
.....\......\...\mod.bmp
.....\......\...\mul.bmp
.....\......\...\N.bmp
.....\......\...\RsaKit.ico
.....\......\...\RsaKit.rc2
.....\......\...\sub.bmp
.....\......\...\toolbar.bmp
.....\......\Resource.h
.....\......\resource.hm
.....\......\RsaKit.aps
.....\......\RsaKit.clw
.....\......\RsaKit.cpp
.....\......\RsaKit.dsp
.....\......\RsaKit.dsw
.....\......\RsaKit.h
.....\......\RsaKit.ncb
.....\......\RsaKit.opt
.....\......\RsaKit.plg
.....\......\RsaKit.rc
.....\......\StdAfx.cpp
.....\......\StdAfx.h
.....\......\ToolDlg.cpp
.....\......\ToolDlg.h
.....\RsaKit.exe