an encryption program using the XOR cipher written in C++