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 –?
- XOR Cipher –?
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写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