Disclaimer: I don't promise this to be bug free. It is also a well known algorithm and is not difficult to crack. Do not use for actual secure communications. But if it is bug free it can be used as a One Time Pad which is very secure.
A form of cryptography in which the key required for encrypting is the same as the key required for decrypting. This pretty much describes all forms of cryptography before the 1970s. Sometimes this is also called symmetric-key cryptography.
DES, Vigenere Square, and Caesar shift cipher just a few examples of a symmetric cipher.
Key: