CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 系统编程 加密解密

文件名称:EncryptDectyptTool_Src

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    1.05mb
  • 已下载:
    3次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

写了一个文件加解密工具(VC9+OPENSSL)

CA程序:

生成2个RSA密钥对,分别保存为PEM格式,密码保护私钥,文件名为“RSAPrivateKey.pem”和“RSAPublicKey.pem”。

加密:

将指定明文文件加密,密文件格式自已定义,要求文件内容用对称算法(3des)加密,对称密钥(KEY)为随机生成,随机密钥用“RSAPrivateKey.pem”的公钥加密后,存放在密文文件头内(KEY1);对明文文件做摘要计算(HASH),将计算结果用“RSAPublicKey.pem”的私钥加密后(SIGN),放到密文文件头内;文件头内有明文的原始长度信息。

解密:

将密文文件解密成明文文件,流程与加密相反,先用“RSAPrivateKey.pem”私钥解密(KEY1)数据,得出随机密钥(KEY);用随机密钥对密文解密,得到明文文件;对明文文件进行摘要计算,得出HASH1;用“RSAPublicKey.pem”公钥解密SIGN,得出HASH2;HASH1与HASH2做对比,相同表示解密成功,不同表示解密失败。

密文文件头内可以保存原始加密人的信息以及解密人的信息,这样可以快速判断解密者是否有权限解密该密文文件,如果有权限则进行解密过程,否则直接提示没有权限解密。

-To write a file encryption and decryption tool (VC9+ OPENSSL)

CA procedures:

Generates two RSA key pairs, respectively, save for the PEM format, password-protected private key, the file named "RSAPrivateKey.pem" and "RSAPublicKey.pem".

Encryption:

The specified plaintext file encryption, secret self-definition file formats require the document to use symmetric algorithms (3des) encryption, symmetric key (KEY) is randomly generated, random key to use "RSAPrivateKey.pem" public key encryption, stored in the ciphertext header inside (KEY1) summary of the calculation of the plaintext file to do (HASH), the calculation results with the "RSAPublicKey.pem" private key encryption (SIGN), into ciphertext in the file header file header if there is express The original length of the message.

Decryption:

Decrypt the ciphertext into a plaintext file documents, processes and encrypt the contrary, the first to use "RSAPrivateKey.pem" decrypt the private key (KEY1) data, derived random k
(系统自动生成,下载前可以参看下载内容)

下载文件列表

EncryptDectyptTool/EncryptDectyptTool.aps
EncryptDectyptTool/EncryptDectyptTool.cpp
EncryptDectyptTool/EncryptDectyptTool.h
EncryptDectyptTool/EncryptDectyptTool.rc
EncryptDectyptTool/EncryptDectyptTool.vcproj
EncryptDectyptTool/EncryptDectyptTool.vcproj.HitIt-Pc.HitIt.user
EncryptDectyptTool/EncryptDectyptTool.vcproj.HITIT_.HitIt.user
EncryptDectyptTool/EncryptDectyptToolDlg.cpp
EncryptDectyptTool/EncryptDectyptToolDlg.h
EncryptDectyptTool/FileHead.h
EncryptDectyptTool/openssl/bin/libeay32.dll
EncryptDectyptTool/openssl/bin/openssl.exe
EncryptDectyptTool/openssl/bin/ssleay32.dll
EncryptDectyptTool/openssl/bin
EncryptDectyptTool/openssl/include/openssl/aes.h
EncryptDectyptTool/openssl/include/openssl/applink.c
EncryptDectyptTool/openssl/include/openssl/asn1.h
EncryptDectyptTool/openssl/include/openssl/asn1t.h
EncryptDectyptTool/openssl/include/openssl/asn1_mac.h
EncryptDectyptTool/openssl/include/openssl/bio.h
EncryptDectyptTool/openssl/include/openssl/blowfish.h
EncryptDectyptTool/openssl/include/openssl/bn.h
EncryptDectyptTool/openssl/include/openssl/buffer.h
EncryptDectyptTool/openssl/include/openssl/cast.h
EncryptDectyptTool/openssl/include/openssl/comp.h
EncryptDectyptTool/openssl/include/openssl/conf.h
EncryptDectyptTool/openssl/include/openssl/conf_api.h
EncryptDectyptTool/openssl/include/openssl/crypto.h
EncryptDectyptTool/openssl/include/openssl/des.h
EncryptDectyptTool/openssl/include/openssl/des_old.h
EncryptDectyptTool/openssl/include/openssl/dh.h
EncryptDectyptTool/openssl/include/openssl/dsa.h
EncryptDectyptTool/openssl/include/openssl/dso.h
EncryptDectyptTool/openssl/include/openssl/dtls1.h
EncryptDectyptTool/openssl/include/openssl/ebcdic.h
EncryptDectyptTool/openssl/include/openssl/ec.h
EncryptDectyptTool/openssl/include/openssl/ecdh.h
EncryptDectyptTool/openssl/include/openssl/ecdsa.h
EncryptDectyptTool/openssl/include/openssl/engine.h
EncryptDectyptTool/openssl/include/openssl/err.h
EncryptDectyptTool/openssl/include/openssl/evp.h
EncryptDectyptTool/openssl/include/openssl/e_os2.h
EncryptDectyptTool/openssl/include/openssl/hmac.h
EncryptDectyptTool/openssl/include/openssl/idea.h
EncryptDectyptTool/openssl/include/openssl/krb5_asn.h
EncryptDectyptTool/openssl/include/openssl/kssl.h
EncryptDectyptTool/openssl/include/openssl/lhash.h
EncryptDectyptTool/openssl/include/openssl/md2.h
EncryptDectyptTool/openssl/include/openssl/md4.h
EncryptDectyptTool/openssl/include/openssl/md5.h
EncryptDectyptTool/openssl/include/openssl/objects.h
EncryptDectyptTool/openssl/include/openssl/obj_mac.h
EncryptDectyptTool/openssl/include/openssl/ocsp.h
EncryptDectyptTool/openssl/include/openssl/opensslconf.h
EncryptDectyptTool/openssl/include/openssl/opensslv.h
EncryptDectyptTool/openssl/include/openssl/ossl_typ.h
EncryptDectyptTool/openssl/include/openssl/pem.h
EncryptDectyptTool/openssl/include/openssl/pem2.h
EncryptDectyptTool/openssl/include/openssl/pkcs12.h
EncryptDectyptTool/openssl/include/openssl/pkcs7.h
EncryptDectyptTool/openssl/include/openssl/pqueue.h
EncryptDectyptTool/openssl/include/openssl/pq_compat.h
EncryptDectyptTool/openssl/include/openssl/rand.h
EncryptDectyptTool/openssl/include/openssl/rc2.h
EncryptDectyptTool/openssl/include/openssl/rc4.h
EncryptDectyptTool/openssl/include/openssl/ripemd.h
EncryptDectyptTool/openssl/include/openssl/rsa.h
EncryptDectyptTool/openssl/include/openssl/safestack.h
EncryptDectyptTool/openssl/include/openssl/sha.h
EncryptDectyptTool/openssl/include/openssl/ssl.h
EncryptDectyptTool/openssl/include/openssl/ssl2.h
EncryptDectyptTool/openssl/include/openssl/ssl23.h
EncryptDectyptTool/openssl/include/openssl/ssl3.h
EncryptDectyptTool/openssl/include/openssl/stack.h
EncryptDectyptTool/openssl/include/openssl/store.h
EncryptDectyptTool/openssl/include/openssl/symhacks.h
EncryptDectyptTool/openssl/include/openssl/tls1.h
EncryptDectyptTool/openssl/include/openssl/tmdiff.h
EncryptDectyptTool/openssl/include/openssl/txt_db.h
EncryptDectyptTool/openssl/include/openssl/ui.h
EncryptDectyptTool/openssl/include/openssl/ui_compat.h
EncryptDectyptTool/openssl/include/openssl/x509.h
EncryptDectyptTool/openssl/include/openssl/x509v3.h
EncryptDectyptTool/openssl/include/openssl/x509_vfy.h
EncryptDectyptTool/openssl/include/openssl
EncryptDectyptTool/openssl/include
EncryptDectyptTool/openssl/lib/libeay32.lib
EncryptDectyptTool/openssl/lib/ssleay32.lib
EncryptDectyptTool/openssl/lib
EncryptDectyptTool/openssl
EncryptDectyptTool/ReadMe.txt
EncryptDectyptTool/res/EncryptDectyptTool.ico
EncryptDectyptTool/res/EncryptDectyptTool.rc2
EncryptDectyptTool/res
EncryptDectyptTool/resource.h
EncryptDectyptTool/stdafx.cpp
EncryptDectyptTool/stdafx.h
EncryptDectyptTool/targetver.h
EncryptDectyptTool/Tools.h
EncryptDectyptTool
EncryptDectyptTool.sln
EncryptDectyptTool.suo

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com