Encryption in plain English
Every secure connection uses a few kinds of cryptography. A large quantum computer would break two of them, and the world is replacing those now. This guide explains each part in everyday language, in 99 short entries with more detail for anyone who wants it.
- Your phone or laptop
- Key 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.
- Certificate and signature The site proves it really is your bank, 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.
- Encrypted 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.
- Integrity 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
Latest
All newsComing up
All 187 deadlines- 19 Dec 2026 · United StatesNSA must report to the President within 180 days, and then every year, on post-quantum migration in national security systems.White House (EO 14412)
- End 2026 · AustraliaOrganisations should have a refined plan for their transition to post-quantum cryptography.ASD (Australian Cyber Security Centre)
- End 2026 · GermanyGermany's national guideline says the initial preparation and planning phase (PQC readiness) and first migration steps should be done by the end of 2026.BMI, BMDS and BSI
- End 2026 · NetherlandsCentral government bodies should factor quantum risk into risk management and have their own cryptography policy.Dutch cabinet (Rijksbrede Quantumstrategie)
Nothing matches that search. Try a simpler word, or browse the A to Z.
The basics
The handful of ideas everything else is built on.
- EncryptionScrambling information so only the right people can read it.
- Symmetric encryptionEncryption where both sides use the same secret key.
- Public-key cryptographyEncryption and authentication using a public key and a private key.
- Keys and key lengthThe secret that makes encryption work, and why its size matters.
- Hash functionsA digital fingerprint for any piece of data.
- Cryptographic signaturesProof of who sent something and that it has not been changed.
- Key exchange (Diffie-Hellman)How two strangers agree a shared secret over a public line.
- RandomnessGood keys need truly unpredictable numbers.
- Encoding, hashing and encryptionThree things that look alike but do very different jobs.
- Message authentication codes (MACs)A tag that proves a message has not been changed, using a shared key.
- Password hashing and saltsHow websites store your password without actually storing it.
- Brute-force attacksTrying every possible key until one works.
- Kerckhoffs's principleA system should stay secure even if everything except the key is public.
- CryptanalysisThe study of breaking codes and ciphers.
- Open competitions and standardsHow the world chooses which encryption to trust.
- Merkle treesA way to fingerprint a huge list so any change is easy to spot.
- You type a password
- Sent encrypted Your password travels to the site inside a secure connection. Uses: TLS Nobody on the network can read it.
- Salted The site mixes in a random value unique to your account. Uses: A random salt Stops attackers cracking everyone's passwords at once.
- Slow hash The result is run through a deliberately slow hash and only that is stored. Uses: Argon2, bcrypt or scrypt Makes guessing stolen passwords slow and costly.
- Your password A short or reused password can still be guessed or stolen elsewhere. Uses: Password manager, passkeys Use a unique password for every site, or a passkey.
- Signed in
A short history
From Roman generals to the 1990s fight over who gets to use encryption.
- The Caesar cipherShifting every letter a fixed number of places along the alphabet.
- EnigmaThe German cipher machine of the Second World War, broken by Polish and British codebreakers.
- The one-time padThe only cipher proven unbreakable, if used perfectly.
- DESThe first public encryption standard, retired because its key was too short.
- The crypto warsThe 1990s fight over whether ordinary people should have strong encryption.
- SteganographyHiding the fact that a message exists at all.
- Caesar cipher Shift every letter by a fixed amount. When: Roman times Only 25 possible keys.
- Enigma A rotor machine that changed the substitution with every letter. When: 1920s to 1945 Broken by Polish and British codebreakers.
- DES The first public standard cipher, with a 56-bit key. When: 1977 Brute-forced in 56 hours in 1998.
- Public keys and RSA Strangers can set up secrets without meeting. When: 1976 to 1977 First found in secret at GCHQ in the early 1970s; now being replaced by post-quantum standards.
- AES The world's standard cipher, chosen in an open contest. When: 2001 Still unbroken.
- Post-quantum standards New public-key methods built to resist quantum computers. When: 2024 Now being rolled out worldwide.
The famous algorithms
The names you will see in the news and in settings menus.
- AESThe world's standard symmetric cipher.
- RSACryptography based on how hard it is to factor huge numbers.
- ECC (elliptic curve cryptography)Public-key cryptography based on maths problems on elliptic curves.
- SHA-2 and SHA-3The standard hash functions behind most digital fingerprints today.
- ChaCha20A fast cipher used where AES is slow, such as on older phones.
- Authenticated encryption (AES-GCM)Encryption that also detects any tampering with the scrambled data.
- Curve25519 (X25519 and Ed25519)The elliptic curve behind most modern key exchanges and many signatures.
- RSA Factoring large numbers becomes easy with Shor's algorithm. Used for: Certificates, signatures, key loading Must be replaced.
- Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto wallets Must be replaced.
- Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLS Replaced by ML-KEM.
- AES-128 Grover's algorithm in theory reduces it to about 64-bit strength. Used for: Disk, Wi-Fi, web traffic The UK NCSC still treats it as safe.
- AES-256 Even with Grover's algorithm, far beyond reach. Used for: Long-lived secrets Recommended where data must stay secret for decades.
- SHA-256 and SHA-3 Hash functions are only modestly affected. Used for: Signatures, passwords, blockchains Stay in use, including inside post-quantum signatures.
Encryption you use every day
What protects you when you browse, send messages and sign in.
- TLS (the browser padlock)The protocol behind https and the padlock in your address bar.
- Certificates and PKIDigital ID cards that prove a website is who it says it is.
- End-to-end encryptionOnly the sender and the recipient can read the message.
- Forward secrecyStealing a long-term key does not unlock past conversations.
- PasskeysSign in with your phone or fingerprint instead of a password.
- Device and disk encryptionYour phone or laptop's storage is scrambled until you unlock it.
- VPNsAn encrypted tunnel from your device to a VPN company's server.
- Wi-Fi encryptionWhat the Wi-Fi password actually protects.
- Email encryptionWhy most email is protected in transit but not end-to-end.
- Certificate TransparencyA public record of website certificates issued by trusted authorities.
- The Signal protocolThe design behind end-to-end encryption in Signal, WhatsApp and Google Messages.
- MetadataWho you contacted, when and from where. Often unprotected by encryption.
- Two-factor codesThe six-digit codes that add a second lock to your accounts.
- Password managersAn encrypted vault that remembers a different strong password for every site.
- Cloud backups and recovery keysWhether your phone backup is end-to-end encrypted, and what happens if you lose the key.
- TorA network that hides who you are from the sites you visit.
- PhishingFake messages and websites built to steal your login or card details.
- SIM swappingCriminals moving your phone number to their own SIM to receive your codes.
- Browser security warningsWhat 'Your connection is not private' means, and what to do.
- Wiping a phone (crypto-erase)Erasing a device by destroying its encryption key.
- Encrypted DNSHiding which websites you look up from your network.
- Message content The words, photos and voice notes you send. Example: WhatsApp, Signal, iMessage Only you and the recipient hold the keys.
- Who and when Who you contacted, when, how often, and roughly where from. Example: Phone numbers, timestamps Apps differ a lot. Signal is designed to keep as little as possible.
- Backups Copies of your chats stored in the cloud. Example: iCloud, Google Drive Only hidden if you turn on end-to-end encrypted backups.
- Your unlocked phone Anyone holding your unlocked phone can read your chats. Example: Screen lock, device encryption Encryption protects messages in transit and on servers, not an open phone.
Keeping keys safe
Where keys are kept, and how they are protected and replaced.
- Hardware security modules (HSMs)Tamper-proof boxes that hold the most important keys.
- Crypto-agilityBeing able to swap algorithms without rebuilding everything.
- Cryptographic inventoryA list of everywhere an organisation uses encryption.
- Secure enclaves and TPMsSmall security chips inside phones and laptops that guard keys.
- Key rotationReplacing keys regularly so a stolen one has limited value.
- Phone locked
- You enter your passcode Or use your face or fingerprint, which stands in for the passcode. Where: Lock screen The security chip limits guesses, so even a six-digit passcode resists guessing.
- Hardware mixes in its secret A security chip combines your passcode with a key that never leaves it. Where: Secure Enclave, Titan M, TPM Guesses must go through the chip, which limits them.
- File keys released The combined key unlocks the keys that encrypt your files. Where: Security chip and storage hardware On iPhone, every file gets its own key.
- Wipe by forgetting Erasing the phone destroys the hardware key, so the data can never be decrypted. Where: Erase All Content and Settings, factory reset Takes seconds.
- Phone unlocked or wiped
The quantum question
Why people talk about quantum computers breaking encryption, and what is being done about it.
- Quantum computersMachines that use quantum physics to solve certain problems much faster.
- Shor's algorithmA quantum algorithm that breaks RSA and ECC.
- Grover's algorithmA quantum algorithm that speeds up searching.
- Q-DayThe day quantum computers can break today's public-key encryption.
- Harvest now, decrypt laterRecording encrypted data today to decrypt it once quantum computers arrive.
- Post-quantum cryptographyNew algorithms that resist quantum computers and run on ordinary ones.
- Lattice-based cryptographyThe leading family of post-quantum methods.
- The NIST post-quantum standardsThe official replacement algorithms, chosen in an open competition.
- Hybrid encryptionUsing a traditional and a post-quantum method together.
- Quantum key distribution (QKD)Sharing keys using quantum physics over special links.
- Mosca's inequalityA simple test for when you need to start migrating.
- Qubits: physical and logicalWhy '1,000 qubits' in a headline does not mean what it seems.
- CRQCShort for 'cryptographically relevant quantum computer'.
- Hash-based signaturesPost-quantum signatures that rely only on hash functions.
- Quantum advantageWhen a quantum computer beats ordinary computers at a task. Not the same as breaking encryption.
- Record An attacker copies encrypted traffic, such as a VPN tunnel or a messaging session. When: Today Nothing alerts the victim.
- Store The recording is kept, possibly for decades. When: Years Storage is cheap.
- Break the key exchange A large quantum computer recovers the session key from the recorded key exchange. When: Q-Day, date unknown The bulk AES encryption does not need breaking.
- Defence: hybrid key exchange now Traffic protected with ML-KEM today cannot be decrypted this way later. When: Already default in major browsers Why key exchange is upgraded first.
Money and payments
How encryption protects your card, your PIN, your phone wallet and crypto assets.
- Chip cards and cryptogramsHow your card proves it is genuine every time you pay.
- TokenisationReplacing your card number with a stand-in that is useless if stolen.
- Bitcoin and quantum riskWhy crypto assets need new signatures before Q-Day.
- How your PIN is protectedYour PIN is either checked by your card's chip or encrypted all the way to your bank.
- PCI DSSThe security rulebook for anyone who handles card numbers.
- 3-D SecureThe extra check when you pay online, such as approving in your banking app.
- MPC wallets and threshold signaturesSplitting a crypto wallet's key so no single person or device holds it.
- Electronic signaturesSigning contracts online, and how much cryptography is really involved.
- Digital ID walletsOfficial ID on your phone that can share only what is needed.
- Contactless payments and relay attacksHow tap-to-pay is protected, and why there are spending limits.
- Open banking securityHow apps get permission to see your bank account without your password.
- One-time code The chip makes a cryptogram for this payment only, so copied details are useless. Today: Symmetric keys (Triple DES or AES) Safe. Visa recommends starting the move to AES before the end of 2030.
- Card check The terminal checks a chain of signatures to confirm the card is genuine. Today: RSA certificates Breakable in principle. EMVCo does not expect a threat to chip cards before 2040, if ever.
- PIN Your PIN is checked by the chip, or encrypted at the keypad and passed only between secure devices. Today: Triple DES or AES in HSMs Mostly safe. PINs sent to the bank use symmetric keys; a chip that checks the PIN itself may use RSA.
- Network links The payment travels between the shop's processor, the card network and your bank. Today: TLS and private networks Key exchange needs the same post-quantum upgrade as the web.
- Bank approval Your bank checks the cryptogram with its own copy of the key, inside a hardware security module. Today: Symmetric keys; RSA to load keys remotely The check is safe, but remote key loading often uses RSA and needs replacing.
When it goes wrong
Bugs, leaked keys, old settings and the other ways encryption fails in practice.
- Side-channel attacksStealing keys from timing, power use or sound, not by breaking the maths.
- Heartbleed and implementation bugsWhen the algorithm is fine but the code is not.
- Downgrade attacksTricking two systems into using weaker encryption than they support.
- BackdoorsA hidden way in that bypasses the encryption.
- RansomwareCriminals using encryption against you, locking your files until you pay.
- Break in Through a phishing email, a stolen password or an unpatched system. Defence: Passkeys, updates, two-factor Most attacks start here.
- Spread and steal The attackers move through the network and copy data to threaten publication. Defence: Segmented networks, monitoring Often weeks before anything is encrypted.
- Encrypt files Files are locked with strong encryption that cannot practically be broken. Defence: Little; security software may halt it part-way The criminals hold the only key.
- Restore from backup Offline or immutable backups let the victim recover without paying. Defence: Offline, tested backups Recovers the files, though stolen data can still be published.
Who sets the rules
The agencies and standards bodies whose names appear throughout this guide.
- NISTThe US standards body whose encryption standards much of the world follows.
- NCSC (UK)The UK's National Cyber Security Centre, part of GCHQ.
- NSA and CNSA 2.0The US signals intelligence agency, and its rulebook for protecting secret systems.
- IETFThe open community that writes the internet's technical standards.
- CA/Browser ForumThe group of certificate issuers and browser makers that sets website certificate rules.
- ENISA and the EUHow the European Union coordinates cyber security and the post-quantum move.
- Researchers propose
- Open competition Designs are submitted and attacked in public for years. For ML-KEM: 2016 to 2022 SIKE was broken along the way.
- Standard published A standards body publishes the final specification. For ML-KEM: FIPS 203, August 2024 Other countries mostly follow NIST.
- Protocols updated Internet standards define how TLS, SSH and others use it. For ML-KEM: Hybrid key exchange for TLS Hybrids pair it with a proven algorithm.
- Software adds it Libraries, browsers and operating systems ship it, often switched on by default. For ML-KEM: Chrome, Firefox, Apple, Cloudflare Arrives with ordinary updates.
- Your device is protected
Encryption and the law
Police access to encrypted messages, data protection law and export rules.
- The lawful access debateShould police and security services be able to read encrypted messages?
- Encryption and data protection lawWhy GDPR treats encryption as one of the main ways to protect personal data.
- Export controlsRules on selling encryption technology across borders.
Beyond secrecy
Newer ideas that let you prove or compute things without revealing your data.
- Zero-knowledge proofsProving something is true without revealing anything else.
- Homomorphic encryptionDoing calculations on data while it stays encrypted.
- Multi-party computationSeveral parties compute a result together without showing each other their inputs.
- Confidential computingKeeping data encrypted even while a cloud server is working on it.
- Your ID wallet
- Credential issued A trusted issuer, often a government body, signs a digital version of your ID and stores it in your phone's wallet. Uses: Digital signatures The site can check the signature without contacting the issuer.
- Site asks one question A website asks only whether you are over 18. Uses: Selective disclosure Not your name, address or birthday.
- Wallet proves it Your wallet sends a signed answer, or a zero-knowledge proof, that you are over 18. Uses: SD-JWT, mdoc or zero-knowledge proofs Zero-knowledge proofs can stop sites linking your visits.
- Access granted