Introduction
Imagine sending a secret message to a friend but worrying that someone else might read it along the way. The problem is how to keep information safe so only the right person can understand it.
Imagine writing a letter in a secret language only you and your friend understand. Even if someone finds the letter, they see only strange symbols and cannot read it. Your friend uses the secret language key to read the letter.
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Original │ │ Encryption │ │ Encrypted │
│ Data │─────▶│ Process │─────▶│ Data (Code) │
└───────────────┘ └───────────────┘ └───────────────┘
│
▼
┌───────────────┐
│ Decryption │
│ with Key │
└───────────────┘
│
▼
┌───────────────┐
│ Original │
│ Data │
└───────────────┘