Question
C++ Program to learn about: Encryption/Decryption with Password Generator The encryption program should work like a filter, reading the contents of one file, modifying the
C++ Program to learn about: Encryption/Decryption with Password Generator
The encryption program should work like a filter, reading the contents of one file, modifying the data into a code, and then writing the coded contents out to a second file. Once the data is encrypted, the program should generate a password file to be used to decrypt the file in the future. The password should be saved into a third file.
To verify that the program works, there should be a decryption option that reads the contents of the second file, restore the data to its original state, and display the file contents on screen. It should also require the user to enter the password, comparing the inputted password to the password stored in the third file created ealier. If it is the correct password, the content of the decryption file will be on the screen.
----------------
Overall Needs:
----------------
Encryption option to encryption a text file, put encrypted content to second file, generate password for 2nd txt file and save it to a third txt file, have decryption option to read 2nd file, make decryption option ask for password, match inputted password with the password in the third txt file, display content of decrypted file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started