#include #include using namespace std; string XOR(string data, string key) { // Dividend is data // Divisor is the primary key, i.e. the key string result = ""; int dataLen = data.length(); int keyLen = key.length(); // Perform XOR operation for (int i=0; i