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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!