Protects you if the site is breachedStill your responsibilityA well-run site never stores your password, but a reused or short password still puts you at risk.
Broken by trying every keyBeyond any known computerEvery extra bit doubles the work, which is why 56-bit keys fell and 128-bit keys are out of reach.
WeakerStronger
40-bitAbout a trillion possible keys. The 'export-grade' size US rules forced on software sold abroad in the 1990s.Record: Cracked in about 8 days in 1995 on about 120 French research workstationsLeft traces in software that caused attacks in 2015.
56-bit DESAbout 72 quadrillion possible keys. The US standard cipher from 1977.Record: 56 hours in 1998, on a $250,000 machineRetired in favour of AES.
64-bitAbout 18 billion billion keys, 256 times as many as DES.Record: About five years of volunteer computing, finished in 2002Too short for anything that matters today.
128-bit AESAbout 340 trillion trillion trillion keys: 18 billion billion times as many as 64-bit.Record: No known way, even with all the world's computersGrover's algorithm would still leave it far out of practical reach.
256-bit AESRecommended where data must stay secret for decades.Record: Beyond reach, even with a quantum computerThe default in many government systems.
Encoding, hashing, encryption, MACs and hiding side by side
Gives no secrecyProtects data, in its own wayOnly encryption makes data unreadable without a key. The others do different jobs and are often confused with it.
StepUses an algorithm a quantum computer could breakA signature proves who signed and that nothing changed. Today's signature algorithms are among the parts a quantum computer would break.Show
Broken, or would fall to a large quantum computerExpected to stay safeThe older ciphers were broken by new attack methods or faster computers. Today's public-key methods would fall to a large quantum computer.
Roman timesCaesar cipherShift every letter by a fixed amount.Only 25 possible keys.
1920s to 1945EnigmaA rotor machine that changed the substitution with every letter.Broken by Polish and British codebreakers.
1976 to 1977Public 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.
1977DESThe first public standard cipher, with a 56-bit key.Brute-forced in 56 hours in 1998.
2001AESThe world's standard cipher, chosen in an open contest.Still unbroken.
2024Post-quantum standardsNew public-key methods built to resist quantum computers.Now being rolled out worldwide.
All four must holdWhat happens when one failsBreak any one rule and the cipher can be broken. Reused pages let US and British codebreakers read about 3,000 Soviet messages.
✓Truly randomThe key must come from a genuinely unpredictable source.Why: Patterns in the key leak into the messageComputer 'random' numbers are not enough.
✓As long as the messageEvery letter needs its own piece of key.Why: A shorter key has to repeatRepetition gives codebreakers a foothold.
✓Kept secretBoth sides must hold the key and nobody else.Why: Delivering the key safely is the hard partWhy it is impractical for everyday use.
✕Never reusedEach page of key is used once, then destroyed.Why: Venona: duplicated Soviet pad pages let US and British codebreakers read about 3,000 messagesThe most common way it has failed.
Each letter is shifted by its own random key letter. With a truly random key as long as the message, used once and kept secret, the result cannot be broken.
How Enigma scrambled a letter
The German cipher machine of the Second World War, broken by Polish and British codebreakers. Full explanation: Enigma →
Each key press sent a current through the plugboard, three rotors and a reflector, then back to a lamp. The rotors turned after every press, so the same letter came out differently each time.
Broken: collisions foundCurrent standardMD5 and SHA-1 were broken in public. SHA-2 has held for over 20 years.
Collisions published in 2004MD5Once used everywhere for checking files and storing passwords.Used in 2012 to forge a Microsoft signature for the Flame malware.
First public collision in 2017SHA-1The next standard, used in certificates and Git.Browsers had already stopped trusting SHA-1 certificates.
No practical attackSHA-256 (SHA-2)Today's standard fingerprint, standardised by NIST in 2002.Used in certificates, Bitcoin and software downloads.
Standardised in 2015SHA-3A different design kept ready in case SHA-2 is ever weakened.Chosen in an open competition.
Quantum computers would break thisStays safeA large quantum computer would break the key exchange and the certificate signature. The encryption of your data itself stays safe.Show
How a passkey signs you in without sending a password, and why it only works on the real website. Full explanation: Passkeys →
Protected from phishing and data breachesUses an algorithm a quantum computer could breakPasskeys defeat phishing and leak no secrets in a breach. Only the signature algorithm will need a quantum upgrade.Show
Hidden from the serviceOften visible to the service or othersEnd-to-end encryption hides what you say, but not always who you talk to, your backups or an unlocked phone.
Only you and the recipient can read itThe service only passes it alongKeys change constantly and the server only ever sees locked messages. Signal added post-quantum protection in 2023 and extended it to the ratchet in 2025.
Signed with algorithms a quantum computer could breakExtra public checkEvery link in the chain is signed with RSA or elliptic curves, which is why certificates are the slowest part to upgrade.Show
How Tor sends your traffic through three relays, so no single relay knows both who you are and where you are going. Full explanation: Tor →
Knows only part of the pictureCan see more than you might expectNo single relay knows both who you are and where you are going, though the exit can see unencrypted traffic.
Protected by hardwareHappens each time you unlockYour passcode only works together with a secret locked in hardware, which is why phones resist guessing.
Can be phished or hijackedResists phishingAny second factor helps, but only passkeys and security keys stop phishing.
WeakerStronger
Password onlyOne stolen or reused password is enough to get in.Weakness: Breaches, reuse, phishingAdd a second factor wherever you can.
Text message codesA code sent to your phone number.Weakness: SIM swapping, phishingStill far safer than a password alone.
Authenticator appA code that changes every 30 seconds, made on your phone.Weakness: Can still be phished in real timeSafe from SIM swapping.
Passkey or security keyYour device signs in only to the real website.Weakness: Losing every device without a backupThe strongest option for most people.
A VPN hides your browsing from the local network and your internet provider, and shows websites the VPN's address instead of yours. The VPN company can see where you go.
Broken by Shor's algorithmSafe, or only weakened by Grover's algorithmA large quantum computer breaks today's public-key algorithms outright but only dents symmetric ciphers and hashes.Show
Published standardBackup or still in progressML-KEM, ML-DSA and SLH-DSA are final standards. FN-DSA, a compact lattice signature, and HQC, a code-based backup, are on the way.
Milestones reachedNot yet builtBreaking RSA needs a large, error-corrected machine. Estimates of its size fell from 20 million qubits in 2019 to under a million in 2025. No such machine exists.
Practical limitationStrengthQKD can detect eavesdroppers, but its practical limits are why most security agencies prefer post-quantum cryptography.
✓Detects listeningMeasuring the light disturbs it, so eavesdropping shows up.In practice: Based on physics, not mathsIts main selling point.
✕Special hardwareNeeds dedicated fibre or satellite links and expensive equipment at each end.In practice: Mostly pilots; China runs a large national networkCannot be installed by a software update.
✕Limited distanceSignals fade over long fibre runs, so long links need relay stations.In practice: Relays must be trustedA compromised relay sees the keys.
✕Still needs authenticationQKD shares keys but cannot prove who is at the other end.In practice: Signatures or keys shared in advanceIn practice that usually means public-key signatures.
Physical qubits on a scale where each step is ten times more. Estimates of what breaking RSA-2048 needs have fallen, but today's machines are still far short.
What Grover's and Shor's algorithms do to security
Bar length shows security in bits, and each extra bit doubles the work. Grover's algorithm halves AES-128's bits; Shor's algorithm breaks RSA outright.
Uses public-key cryptography a quantum computer could breakUses symmetric keys, which stay safeThe card check and the network links use public-key cryptography that needs replacing. The PIN, the one-time code and the bank's check run on symmetric keys that stay safe.Show
Public key visible, so exposed to a large quantum computerPublic key hidden behind a hash until spentCoins are exposed once their public key is visible, which covers early, spent-from, Taproot and in-flight coins.Show
Your real card number is not exposedHandled by the card network or your bankThe shop never sees your real card number, and each payment carries a one-time code.
Your bank login stays with your bankStandard steps in the consent flowThe app gets a limited, revocable permission. Your bank login never leaves your bank.
No single point of failureStill uses quantum-vulnerable signaturesThe full private key never exists in one place, so no single stolen device can move the funds.Show
No electronic signature can be refused just for being electronic, but only the qualified level is the legal equal of a handwritten signature across the EU.
WeakerStronger
SimpleTyping your name, drawing a squiggle or ticking a box, backed by an audit trail.Example: Most e-signing servicesFine for everyday contracts.
AdvancedUniquely linked to you and to the document, so any change is detectable.Example: Cryptographic signatures under your controlHarder to deny later.
QualifiedAn advanced signature backed by a certificate from an approved provider and a secure device.Example: EU eIDAS qualified signaturesEqual to handwritten across the EU.
What happens in a 3-D Secure online checkout
What happens when your bank checks an online card payment, and when it asks you to confirm. Full explanation: 3-D Secure →
Step in the checkProtects you or the shopMost online card payments are approved silently on risk data. Only riskier ones ask you to confirm in your banking app.
Attacker's stepDefence that breaks the chainThe criminals hold the key, so the encryption cannot be broken. Prevention, early detection and backups limit the damage.
Normal behaviourAttacker's stepDefenceIn 2015, the FREAK and Logjam attacks forced connections onto 1990s 'export-grade' keys that servers had never switched off.
Governments want warrants to reach encrypted content. Most security experts say any such access weakens security for everyone.
Governments' casePolice and security services cannot read messages even with a warrant.Example: UK, EU and US officialsOften framed around child abuse and terrorism.
vs
Experts' caseAccess for the right people cannot be built without creating a way in for others.Example: Dual_EC and the Juniper hackPast backdoors were found and abused.
Proposed mechanismsScanning messages on the phone before encryption, holding copies of keys, or legal orders to build access.Example: UK technical capability notices; EU 'chat control' proposalEach changes how the encryption works.
What has happenedSome companies have withdrawn features or threatened to leave rather than weaken encryption.Example: Apple withdrew Advanced Data Protection for new UK users, 2025A full UK tribunal hearing is due in 2027.
DecisionWhere encryption helpsStrong encryption with a safe key can spare an organisation from telling every affected person, though the regulator may still need to know.
Homomorphic encryption is slow, multi-party computation needs every party online, confidential computing relies on the chip maker, and zero-knowledge proofs only prove facts.