#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 len = data.length(); // Performing XOR operation for (int i=0; i