登录
首页 » Visual C++ » wugacsp 非对称密钥的生成、导入、导出、加密、解密

wugacsp 非对称密钥的生成、导入、导出、加密、解密

于 2020-06-27 发布 文件大小:896KB
0 265
下载积分: 1 下载次数: 48

代码说明:

  这两个工程主要用CSP 1、CSPTEST 写的比较乱 主要是给当时一个朋友做参考调用的 完成非对称密钥的生成、导入、导出、加密、解密、对称的加密解密、签名、验证。 2、CSTTEST2 写的比前个好些,但是平时上班,下班自己也要写论文,所以花的时间也不太多,很多地方都偷懒了。比如文件大小我没有用NEW 而且指定了1024 有需要的朋友可以自己修改。这个工程主要是非对称的密钥的导出和导入,还有就是会话密钥的操作。(these two works mainly with a CSP. CSPTEST comparison was made mainly to the chaos when a friend called to refer to the completion of the non-symmetric key generation, importing and exporting, encryption, decryption, symmetric encryption and decryption, signature, the certification. 2, CSTTEST2 write better than in the previous months, but usually go to work and finish their own toilet paper so I spent the time is not too much, all of the lazy. For instance, file size I have not used the NEW 1024 and designated a need to amend their friends. The project mainly non-symmetric keys to the Export and Import, there is the session key operation.)

文件列表:

CSP
...\CSPtest
...\.......\CSPtest.cpp
...\.......\CSPtest.dsp
...\.......\CSPtest.dsw
...\.......\CSPtest.h
...\.......\CSPtest.rc
...\.......\CSPtestDoc.cpp
...\.......\CSPtestDoc.h
...\.......\CSPtestView.cpp
...\.......\CSPtestView.h
...\.......\GenRsaKey.cpp
...\.......\GenRsaKey.h
...\.......\KeyOperation.cpp
...\.......\KeyOperation.h
...\.......\MainFrm.cpp
...\.......\MainFrm.h
...\.......\ReadMe.txt
...\.......\res

...\.......\...\CSPtest.rc2


...\.......\Resource.h
...\.......\StdAfx.cpp
...\.......\StdAfx.h
...\.......\wincrypt.h
...\.......\对称加密后.txt
...\.......\对称待加密文件.txt
...\.......\签名原文.txt
...\.......\签名后数据.txt
...\.......\非对称加密后文件.txt
...\.......\非对称待加密文件.txt
...\CSPTEST2
...\........\Csp.cpp
...\........\Csp.h
...\........\CSPTEST2.cpp
...\........\CSPTEST2.dsp
...\........\CSPTEST2.dsw
...\........\CSPTEST2.h
...\........\CSPTEST2.rc
...\........\CSPTEST2Dlg.cpp
...\........\CSPTEST2Dlg.h
...\........\ReadMe.txt
...\........\res

...\........\...\CSPTEST2.rc2
...\........\Resource.h
...\........\StdAfx.cpp
...\........\StdAfx.h
...\........\wincrypt.h
...\........\会话加密原文.txt
...\........\会话密钥数据文件.txt
...\........\会话数据加密密文.txt
...\........\会话解密后数据.txt
...\........\加密公钥文件.txt
...\........\加密私钥文件.txt
...\........\签名公钥文件.txt
...\........\签名私钥文件.txt
...\写读这个下下吧.txt
CSPtest
.......\CSPtest.aps
.......\CSPtest.clw
.......\CSPtest.cpp
.......\CSPtest.dsp
.......\CSPtest.dsw
.......\CSPtest.h
.......\CSPtest.ncb
.......\CSPtest.opt
.......\CSPtest.plg
.......\CSPtest.rc
.......\CSPtestDoc.cpp
.......\CSPtestDoc.h
.......\CSPtestView.cpp
.......\CSPtestView.h
.......\GenRsaKey.cpp
.......\GenRsaKey.h
.......\KeyOperation.cpp
.......\KeyOperation.h
.......\MainFrm.cpp
.......\MainFrm.h
.......\ReadMe.txt
.......\res

.......\...\CSPtest.rc2


.......\Resource.h
.......\StdAfx.cpp
.......\StdAfx.h
.......\wincrypt.h
.......\对称加密后.txt
.......\对称待加密文件.txt
.......\签名原文.txt
.......\签名后数据.txt
.......\非对称加密后文件.txt
.......\非对称待加密文件.txt
CSPTEST2
........\Csp.cpp
........\Csp.h

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • des-daima
    DES( Data Encryption Standard)算法,于1977年得到美国政府的正式许可,是一种用56位密钥来加密64位数据的方法。虽然56位密钥的DES算法已经风光不在,而且常有用Des加密的明文被破译的报道,但是了解一下昔日美国的标准加密算法总是有益的,而且目前DES算法得到了广泛的应用,在某些场合,她仍然发挥着余热.(如:UNIX的密码算法就是以DES算法为基础的)。将其修改为三重DES也能抵抗破解。下面是关于如何实现DES算法的语言性描述:(DES ( Data Encryption Standard ) algorithm, in 1977 the U.S. government s official permission , is a 56 -bit key to encrypt 64 data . 56 keys of the DES algorithm scenery is not , and often with Des encryption expressly decipher reported , but look at the old standard encryption algorithm is always useful , but the DES algorithm has been widely used in a some occasions , she still plays a waste heat . (such as : UNIX password algorithm is DES algorithm -based ) . To modify the Triple DES is also resistant to cracking . The following is a description language on how to achieve the DES algorithm : )
    2012-04-28 10:01:59下载
    积分:1
  • md5ex
    c++ 写的加密算法,可以加密解密,采用的算法是比较长用的(c write the encryption algorithm, encryption can be decrypted using the algorithm is relatively long with the)
    2007-05-22 14:41:17下载
    积分:1
  • imgecrypt_cpp
    说明:  用C++实现的图像加密和解密算法代码,功能强大(Using C++ implementation of image encryption and decryption algorithm code, powerful)
    2010-04-12 18:49:30下载
    积分:1
  • Crypt_Vmpc
    VMPC加密解密算法。已对x86优化,其他平台也可用。(VMPC encryption and decryption algorithms. Has been optimized for x86, other platforms are also available.)
    2013-07-15 18:51:17下载
    积分:1
  • AES-CMAC
    能够实现AES加密解密的功能,已经过测试可以使用(Enables AES encryption and decryption functions, have been tested can be used)
    2015-05-07 00:12:18下载
    积分:1
  • 39.3
    说明:  编制程序,将输入的一行字符以加密的形式输出,然后将其解密,解密的字符串序列与输入的正文相比较,吻合时输出解密的正文,否则解密失败。 加密时,将每个字符的ascii码依次反复加上“4962873”中的数字,并在32(‘’)~122(‘z’)之间作模运算。解密与加密的顺序相反。例如输入正文“the result of 3 and 2 is not 8” 结果为: (Programming, the input line character output in an encrypted form, and then decrypted, the decrypted text sequence of characters compared with the input, output to decrypt the body of the agreement, otherwise the decryption failed. Encryption, ascii code of each character in turn repeatedly with &quot 4962873&quot in the figures, and 32 (' ' )~ 122 (' z' ) as a model between the operations. Decryption and encryption in reverse order. For example, enter the text &quot the result of 3 and 2 is not 8&quot results:)
    2011-04-05 08:43:48下载
    积分:1
  • DES-disk-system
    以C++语言在微机上实现了美国数据加密标准DES。可随微机软盘任意路径下的任何文件,加密,加密文件可在软、硬盘任何目录下或在网络中传送;另一方面可对软、硬盘中的任何文件进行解密,解密后的文件除在末尾多出几个空格符外与原文件完全相同,绝不影响EXE文件,COM文件或数据库文件的使用。密钥有加密者在键盘输入8个字符。(In c++ language microcomputer to U.S. data encryption standard DES. With the computer floppy disk arbitrary path of any of the files, encryption, encrypt files can be in soft, hard disk any directory or in the network transmission On the other hand, soft, hard disk to the any classify documents, the decrypted file in the end in a few more the space appears with the original documents are all the same, never affect EXE file, COM file or database files use. Key there are JiaMiZhe in keyboard input 8 characters. )
    2011-12-28 22:14:57下载
    积分:1
  • CMAC
    利用C语言实现的cmac算法,该cmac基于AES。程序清晰有注释便于查看(The use of C language cmac algorithm, the cmac based AES. There are clear and easy to view program notes)
    2020-10-28 18:29:57下载
    积分:1
  • GenerateKey
    基于crypto++实现RSA密钥对生成,密钥长度1024,vs2010实现(generate RSA key pair based on Crypto++,and save the key pairs which is 1024 bit in txt file )
    2013-03-27 15:26:16下载
    积分:1
  • MixedCS
    说明:  混合加密系统,支持多种加密方式混合加密系统,支持多种加密方式(Hybrid encryption system)
    2010-03-19 10:25:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载