
In plain words
Encryption turns readable information (called plaintext) into scrambled text (called ciphertext) using a key. Only someone with the right key can turn it back. Without the key, the scrambled text looks like random noise.
An everyday picture
Imagine a lockbox. You put a letter inside and lock it. You can post the box through anyone's hands, and nobody can read the letter unless they have the key. Encryption is that lockbox, made of maths.
Two kinds you will hear about
| Kind | How it works | Used for |
|---|---|---|
| Symmetric | One shared key locks and unlocks | Fast bulk encryption, such as the data in an HTTPS connection |
| Asymmetric (public key) | A public key locks, a private key unlocks | Agreeing keys safely, certificates, SSH keys |
Encryption is not hashing
Encryption is two-way: with the key, you get the original back. A hash is one-way: you can never turn it back. That is why passwords are hashed, not encrypted. See Hash passwords properly.
Ask your AI assistant
Explain encryption to me like I am 12, using a real-life example from Kenya, then give me one example of where my phone uses it every day.

Every lesson stays free. Tap the thumbs up so we know what works, or say thanks with a soda or a coffee: it pays for hosting and new lessons.


