I have two questions on this subject.
1.) How would I (using the file manipulation commands (fstream)), do a search-and-replace for each possible letter and number in a file, and replace them with a random number from a key file?
2.) Can fstream store each change that is has performed in a text file for the decryption process to use later?