You have been hired by XYZ Stealth Incorporated to design their next generation of data encryption software, and in particular, your task is to create a C++ class that supports the ability to perform 2 common data encryption techniques:
- ROT-13 – en.wikipedia.org/wiki/ROT13
- XOR Cipher – en.wikipedia.org/wiki/XOR_
cipher
The class will support the following capabilities:
- initialize the class with a block of data – a) string b) an arbitrary array of data (supplied via void *) and a length
- a method to load data from disk (filename supplied)
- a method to select encryption technique
- a method to set the key for the XOR Cipher
- a method to perform encryption
- a method to save manipulated data to disk (filename supplied)
- a method to decrypt (study the 2 wiki descriptions carefully, a