文件名称:CryptoAPI_ProtectFile
介绍说明--下载内容均来自于网络,请自行研究使用
利用Visual C++ .net2003开发的一款用于保护文件的小程序。
对文件产生MD5值同时对源文件用DES加密,并用私钥加密签名。
对加密文件解密,验证用公钥解密签名与解密文件的MD5值比较,以判断文件是否被修改。
遇到的问题:微软提供的签名函数可能有问题,无论用公钥还是私钥签名,用公钥、私钥(任一)均可解密。怪!希望在此与大家交流交流。-The use of Visual C++. Net2003 developed a document for the protection of small procedures. MD5 value of the document produced at the same time the source file using DES encryption, and signature private key encryption. Encrypted files decryption, authentication using public key to decrypt the signature and decrypt files MD5 value to determine whether a document is modified. Problems encountered: Microsoft to provide the signature function may be a problem regardless of whether it uses a public key or private key signature, using public key, private key (any one) can be decrypted. Strange! Would like to exchange with the U.S. exchanges.
对文件产生MD5值同时对源文件用DES加密,并用私钥加密签名。
对加密文件解密,验证用公钥解密签名与解密文件的MD5值比较,以判断文件是否被修改。
遇到的问题:微软提供的签名函数可能有问题,无论用公钥还是私钥签名,用公钥、私钥(任一)均可解密。怪!希望在此与大家交流交流。-The use of Visual C++. Net2003 developed a document for the protection of small procedures. MD5 value of the document produced at the same time the source file using DES encryption, and signature private key encryption. Encrypted files decryption, authentication using public key to decrypt the signature and decrypt files MD5 value to determine whether a document is modified. Problems encountered: Microsoft to provide the signature function may be a problem regardless of whether it uses a public key or private key signature, using public key, private key (any one) can be decrypted. Strange! Would like to exchange with the U.S. exchanges.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CryptoAPI使用---文件保护程序
............................\b.txt
............................\CryptoAPI_CryptFile.cpp
............................\CryptoAPI_CryptFile.sln
............................\CryptoAPI_CryptFile.vcproj
............................\ReadMe.txt
............................\Release
............................\RSA_5090218.private
............................\RSA_5090218.public
............................\stdafx.cpp
............................\stdafx.h
............................\b.txt
............................\CryptoAPI_CryptFile.cpp
............................\CryptoAPI_CryptFile.sln
............................\CryptoAPI_CryptFile.vcproj
............................\ReadMe.txt
............................\Release
............................\RSA_5090218.private
............................\RSA_5090218.public
............................\stdafx.cpp
............................\stdafx.h