Need simple encryption algorithms in C++

Hi,
I need simple encryption algorithms written in C++ language if someone has these algorithms in C++ or C language then reply me.

Hi,
I need simple encryption algorithms written in C++ language if someone has these algorithms in C++ or C language then reply me.
There are simply lots of algorithms as they are simply sequence of some steps it can be a process like one state to another and many other like this. You can get some from this link.
Also you can take guidance form the code structure that attached below:Â
Smith Thompson.
 One very easy method is to XOR every byte against either a fixed one or an entered
key, like this:
uint8_t byte(readItFromDisc());
byte^=0x34; // Insert key here
writeOut(byte);
When you apply the same algorithm to the encrypted data, you get the
original file out.