Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions