如何使用MFC加密和解密文件 [英] How to encrypt and Decrypt a file using MFC

查看:304
本文介绍了如何使用MFC加密和解密文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在MFC中开发应用程序,我想加密一些文件并在需要时稍后对其解密.请任何人指导我这样做.这是我第一次进行文件加密.


在此先感谢.

解决方案

以下是您可以统计的两篇文章:
一个简单的MFC类,用于使用Crypto加密数据API [ ^ ]
TEA加密/解密变得简单 [文件流加密(使用上下文菜单)

Hello,

I am developing an application in MFC, i want to encrypt few files and decrypt them later if required.Kindly any one guide me to do this.As this is my first time iam doing the encryption of files.


Thanks in Advance.

解决方案

Here are two articles you can stat with:
A simple MFC class to encrypt data with the Crypto API[^]
TEA Encryption/Decryption Made Simple[^]


Please read the below article. you will get some ideas.
File Stream Encryption (using a Context Menu)


这篇关于如何使用MFC加密和解密文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆