Click here to Skip to main content
11,428,876 members (60,563 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ MFC
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.
Posted 29-Nov-12 2:12am
Rocky_Bas1.1K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Rocky_Bas at 29-Nov-12 7:18am
   
I need the encryption of the files not the string.
André Kraak at 29-Nov-12 7:49am
   
The idea is to read the file, encrypt it and then store it again.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 29 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100