Although people may think of it as a new thing typically associated with computers, it has been around for a very long time. Ancient empires would often leave encoded messages mainly for military purposes. You can even think about a lock on a door as a form of encryption, since it stops people from entering your home without the right key, just as how algorithms encrypt TV signals.