This chapter covers:
- What cryptography is about.
- The difference between theoretical cryptography and real-world cryptography.
- What you will learn throughout this adventure.
Greetings traveler,
Sit tight as you’re about to enter a world of wonder and mystery—the world of cryptography. Cryptography is the ancient discipline of securing situations that are troubled with malicious characters. In this book are the spells we need to defend ourselves against the malice. Many have attempted to learn this craft, but few have survived the challenges that stand in the way of mastery. Exciting adventures await! We’ll uncover how cryptographic algorithms can secure our letters, identify our allies, and protect treasures from our enemies. Sailing through the cryptographic sea will not be the smoothest journey, as cryptography is the foundation of all security in our world, the slightest mistake could be deadly.
Remember
If you find yourself lost, keep moving forward. It will all eventually make sense.
![seas](https://drek4537l1klr.cloudfront.net/wong/v-12/Figures/seas.png)
Our journey starts here with an introduction to cryptography, the science aiming to defend protocols against saboteurs. But first, what’s a protocol? Simply put: it’s a list of steps that one (or more people) must follow in order to achieve something. For example, imagine the following premise: you want to leave your magic sword unattended for a few hours so you can take a nap. One protocol to do this could be the following: