Glossary
Nothing matches that search. Try a simpler word, or browse the A to Z.
The basics
Keys, hashes, signatures and the other ideas the rest of the glossary relies 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.
- RandomnessKeys must be built from unpredictable numbers.
- Encoding, hashing and encryptionThree ways of transforming data that are often confused.
- Message authentication codes (MACs)A tag that proves a message has not been changed, using a shared key.
- Password hashing and saltsHow websites check your password without keeping a copy.
- 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 encryption standards are chosen in public contests.
- Merkle treesA way to fingerprint a huge list so any change is easy to spot.
- Encryption in transit and at restProtecting data while it moves, and while it is stored.
- You type a password
- 1Sent encrypted Your password travels to the site inside a secure connection. Uses: TLS Nobody on the network can read it.
- 2Salted The site mixes in a random value unique to your account. Uses: A random salt Stops attackers cracking everyone's passwords at once.
- 3Slow 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.
- 4Your 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
Ciphers that were trusted and later broken, and the 1990s argument over who should be allowed strong 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.
- Roman times Caesar cipherShift every letter by a fixed amount.Only 25 possible keys.
- 1920s to 1945 EnigmaA rotor machine that changed the substitution with every letter.Broken by Polish and British codebreakers.
- 1976 to 1977 Public keys and RSAStrangers can set up secrets without meeting.Safe today, but would fall to a large quantum computer. First found in secret at GCHQ in the early 1970s.
- 1977 DESThe first public standard cipher, with a 56-bit key.Brute-forced in 56 hours in 1998.
- 2001 AESThe world's standard cipher, chosen in an open contest.Still unbroken.
- 2024 Post-quantum standardsNew public-key methods built to resist quantum computers.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 exchangeReplacement: ML-KEM for key exchange, ML-DSA for signatures Must be replaced.
- Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto walletsReplacement: ML-KEM for key exchange, ML-DSA for signatures Must be replaced.
- Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLSReplacement: ML-KEM Replaced by ML-KEM.
- AES-128 Grover's algorithm in theory reduces it to about 64-bit strength. Used for: Disk, Wi-Fi, web trafficUsed 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 secretsUsed 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, blockchainsUsed 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 protects, and what it does not.
- 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.
- 'Military-grade' encryptionAn advertising phrase that usually just means AES.
- Code signing and software updatesDigital signatures that prove an app or update really comes from its maker.
- SSHThe encrypted connection used to log in to and manage remote computers.
| What it is | Example | Status | Note | |
|---|---|---|---|---|
| Message content | The words, photos and voice notes you send. | WhatsApp, Signal, iMessage | Hidden from the service | Only you and the recipient hold the keys. |
| Who and when | Who you contacted, when, how often, and roughly where from. | Phone numbers, timestamps | Often visible to the service or others | Apps differ a lot. Signal is designed to keep as little as possible. |
| Backups | Copies of your chats stored in the cloud. | iCloud, Google Drive | Often visible to the service or others | Only hidden if you turn on end-to-end encrypted backups. |
| Your unlocked phone | Anyone holding your unlocked phone can read your chats. | A lost, borrowed or seized phone; spyware | Often visible to the service or others | 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
- 1You 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.
- 2Hardware 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.
- 3File 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.
- 4Wipe 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
What a quantum computer could break, what it could not, and the replacements being rolled out.
- Quantum computersMachines that use quantum physics to solve certain problems much faster than ordinary computers.
- 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.
- 1Record An attacker copies encrypted traffic, such as a VPN tunnel or a messaging session. When: Today Nothing alerts the victim.
- 2Store The recording is kept, possibly for decades, until it can be read. When: Years Mosca's inequality: if secrecy time plus migration time exceeds the time to Q-Day, you are already late.
- 3Break 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.
- 4Defence: 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 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.
- Your card or phone
- 1Card check The terminal checks a chain of signatures to confirm the card is genuine. Today: RSA certificatesReplacement: Post-quantum card certificates; no date set, as EMVCo expects no threat before 2040 Breakable in principle. EMVCo does not expect a threat to chip cards before 2040, if ever.
- 2PIN Your PIN is checked by the chip, or encrypted at the keypad and passed only between secure devices. Today: Triple DES or AES in HSMsToday: 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.
- 3One-time code The chip makes a cryptogram for this payment only, so copied details are useless. Today: Symmetric keys (Triple DES or AES)Today: Symmetric keys (Triple DES or AES) Safe. Visa recommends starting the move to AES before the end of 2030.
- 4Network links The payment travels between the shop's processor, the card network and your bank. Today: TLS and private networksReplacement: Hybrid key exchange with ML-KEM Key exchange needs the same post-quantum upgrade as the web.
- 5Bank approval Your bank checks the cryptogram with its own copy of the key, inside a hardware security module. Today: Symmetric keys inside an HSMToday: Symmetric keys inside an HSM Safe, though loading keys into HSMs remotely often uses RSA, which needs replacing.
- Your bank
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 bugsBugs in the code that runs a sound algorithm.
- 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.
- 1Break in Through a phishing email, a stolen password or an unpatched system. Defence: Passkeys, updates, two-factor Most attacks start here.
- 2Spread and steal The attackers move through the network and copy data to threaten publication. Defence: Segmented networks, monitoring Often weeks before anything is encrypted.
- 3Encrypt 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.
- 4Restore 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.
| What it is | Dates | Note | |
|---|---|---|---|
| NIST (US) | Standardises the algorithms and decides when old ones are retired for US federal use. | RSA and ECC deprecated after 2030, disallowed after 2035 | Most of the world follows its standards. |
| NSA (US) | Sets rules for systems handling classified information. | New purchases 2027; full use by the end of 2031 | Covers classified and military systems. |
| NCSC (UK) | Advises UK organisations on how to plan the move. | 2028, 2031 and 2035 | Guidance, not law. |
| EU member states | Agreed a shared, non-binding roadmap. The proposed Quantum Act would require post-quantum support in some public purchasing. | End 2026, 2030 and 2035 | National agencies add their own detail. |
| CA/Browser Forum | Sets rules for every public website certificate. | Lifetimes cut to 47 days by March 2029 | Shorter lifetimes make switching algorithms faster. |
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
Techniques for proving a fact, or computing on data, without revealing the data itself.
- 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.
| What it is | Trade-off | Note | |
|---|---|---|---|
| Homomorphic encryption | A computer works on encrypted data and returns an encrypted answer. | Much slower than normal computing | Used by Apple for some private lookups. |
| Multi-party computation | Several parties compute a result together without revealing their inputs. | Needs all parties online and talking | Used to protect crypto wallet keys. |
| Confidential computing | Code runs inside a sealed zone of the processor that even the cloud provider cannot see. | You trust the chip maker instead | Used for cloud AI requests. |
| Zero-knowledge proofs | Prove a fact, such as being over 18, without revealing anything else. | Proves facts; does not compute on data | Proposed for privacy-friendly age checks. |