Thanks, I had always thought that |= was the xor assignment, when I switched it over to ^= it worked correctly.
If you care to see, here are my two added/edited lines:
Code:
encrypted += buffer[i] ^= static_cast<char>(m_Seed);
delete[] buffer;
(thanks for reminding me to free up the space with delete[])
Now I can go through and search for possible optimizations.
