Encryption
Encryption turns readable information into what looks like random noise. Only someone with the right key can turn it back. Your messages, card payments and passwords are encrypted many times a day without you noticing.
A letter written in a code that only you and a friend know how to undo.
- Encoding Changes how data is written so computers can carry it. Anyone can reverse it. Example: Base64 in email attachments, percent-encoding in web addresses Never use it to hide anything.
- Hashing Makes a fixed fingerprint that cannot be turned back into the original. Example: Password storage, file checks Easy-to-guess inputs can still be found by trying them.
- Encryption Scrambles data so only someone with the key can read it. Example: Messages, disks, websites The only one of the five that keeps the content secret.
- Message authentication code A short tag, made with a shared key, that shows the data has not been changed. Example: Every secure web connection Proves integrity, not secrecy.
- Steganography Hides the fact that a message exists, for example inside a photo. Example: Digital watermarks Usually combined with encryption in case it is found.
Why it matters
Without encryption, anyone sitting between you and a website (your Wi-Fi provider, someone on the same café network) could read everything you send.
Where you meet it
The padlock in your browser, WhatsApp and iMessage, your phone's storage when it is locked, contactless payments.
- Your phone or laptop
- 1Key exchange Your device and the site agree a secret key over the open internet. Today: X25519 (elliptic curves) Breakable by a large quantum computer. Browsers now add ML-KEM alongside it.
- 2Certificate and signature The site proves it is your bank and not an impostor. Today: RSA or ECDSA signatures Breakable by a large quantum computer. No post-quantum certificates are used on the public web yet. Chrome plans to start in 2027.
- 3Encrypted data Everything you send and receive is scrambled with the shared key. Today: AES or ChaCha20 Safe with today's key sizes. Quantum computers only weaken it slightly.
- 4Integrity checks Every message carries a tag that shows if anyone tampered with it. Today: Built into AES-GCM or ChaCha20-Poly1305 Safe. Quantum computers barely affect these checks.
- The website
Go deeper history and technical detail
An encryption scheme has two parts: an algorithm, which is public, and a key, which is secret. Security rests on the key alone, a principle set out by Auguste Kerckhoffs in 1883. Modern schemes are designed so that, without the key, the encrypted text gives away nothing useful, even to someone who knows the algorithm and has seen many other encrypted messages.
Read or watch next
- What should I know about encryption?EFF Surveillance Self-Defense, guide
- Cryptography: Crash Course Computer Science #33CrashCourse, video
- Network and Computer SecurityMIT OpenCourseWare (6.857, Spring 2014), course
- Describe concepts of cryptographyMicrosoft Learn, course
- Choosing a Password ManagerEFF Surveillance Self-Defense, guide
Related terms
Cite this page Encryption Observer, “Encryption”, encryption.observer/terms/encryption/, checked December 2026.