Blog

Encryption, explained: The invisible lock behind your digital life

What encryption is, where it came from, the main types in use today, and why AI and future quantum computers are putting some of those locks under pressure.

You have probably used encryption dozens of times today without noticing. You unlocked your phone, checked your bank balance, sent a message, connected to wifi, and maybe paid for a coffee with a tap. Every one of those moments relied on encryption to keep your information private.

Encryption is the invisible lock used in the digital world. In this post we explain what it is, where it came from, the main types in use today, and why artificial intelligence and future quantum computing are now putting some of those locks under pressure. We also cover the post-quantum methods replacing them, and how SharePass uses encryption.

What is encryption?

Encryption scrambles readable information into gibberish that only the right person can unscramble. The readable version is called plaintext. The scrambled version is called ciphertext. The secret that turns one into the other is called a key.

Think of it like a padlocked box. Anyone can see the box, pick it up, or even steal it. Without the key, though, what is inside stays private.

Here is a simple example. The message “Meet at noon” might become “x7Kp9#Lq2!vR” once encrypted. Someone intercepting that string learns nothing. The intended recipient, holding the right key, turns it straight back into “Meet at noon”.

Modern encryption does this with mathematics. The method itself is usually public. What keeps your data safe is the key, which is so long and random that guessing it would take an ordinary computer longer than the age of the universe.

The history of encryption

We have been hiding messages for thousands of years. For most of that history, encryption belonged to generals, diplomats and spies. Only in the last 50 years did it become something everyone uses every day.

  • 5th century BC: The Spartans wrapped a strip of parchment around a rod called a scytale. The message only made sense when wound around a rod of exactly the same width.
  • 1st century BC: Julius Caesar shifted each letter of the alphabet by three, so A became D and B became E. The “Caesar cipher” is still the textbook example of encryption today.
  • 9th century: The Arab scholar Al-Kindi described frequency analysis, the first systematic way to crack substitution ciphers by counting how often each letter appears.
  • 1939–1945: Alan Turing’s team at Bletchley Park, building on the work of Polish codebreakers, broke the German Enigma machine and read German military traffic.
  • 1976: Whitfield Diffie and Martin Hellman published public-key exchange, which let two parties agree a secret key without ever meeting.
  • 1977: RSA was published, making secure communication between strangers practical.
  • 2001: AES became the US standard. It now protects most of the world’s stored data.

The big turning point came in the 1970s. Before then, both sides had to share a secret key in advance, often in person. Public-key encryption removed that problem, and it is the reason you can shop safely online.

The main types of encryption today

Most of what protects you online comes down to two families of encryption, plus a close cousin called hashing. They usually work together.

  • Symmetric encryption, one key for locking and unlocking: The same key scrambles and unscrambles the data. It is very fast, so it does the heavy lifting for large amounts of data. The best-known example is AES (Advanced Encryption Standard), which protects files on your laptop, data in cloud storage and the contents of your phone. Another, ChaCha20, is popular on mobile devices because it runs quickly on less powerful chips.
  • Asymmetric encryption, a public key and a private key: Each person has a pair of keys. The public key can be shared with anyone, like a letterbox slot anyone can post through. The private key stays secret, like the only key that opens the letterbox. The best-known examples are RSA and elliptic curve cryptography (ECC). They are slower than symmetric encryption, so they are mostly used to agree keys safely and to prove identity with digital signatures.
  • Hashing, a one-way fingerprint: Strictly speaking, hashing is not encryption because it cannot be reversed. It turns any data into a short, fixed-length fingerprint, using methods such as SHA-256. Websites use it to store passwords without keeping the passwords themselves, and software makers use it to prove a download has not been tampered with.

How encryption and hashing work together

When you visit a website showing the padlock icon (HTTPS), asymmetric encryption confirms you are talking to the real site and agrees a fresh secret key. Symmetric encryption then protects everything you send and receive. Hashing checks that nothing was altered on the way.

End-to-end encryption is not a separate type but a way of using them. Messages are encrypted on your device and only decrypted on the recipient’s device. Even the company running the service cannot read them. Most chat apps these days work this way.

Post-quantum encryption: the next generation of locks

Post-quantum encryption is new public-key encryption designed to resist both today’s computers and future quantum ones. Despite the name, it does not need a quantum computer. It runs on ordinary phones, laptops and servers, and much of it is already in use.

The difference is the maths underneath. RSA relies on the difficulty of factoring huge numbers, and ECC on a similar puzzle involving curves. Shor’s algorithm lets a quantum computer solve both. Post-quantum methods use different puzzles, mostly based on lattices. Picture trying to find one exact point in a grid with hundreds of dimensions, where every coordinate has been nudged slightly at random. No known computer, classical or quantum, can solve that quickly.

The new standards

After an eight-year public competition, NIST published its first three post-quantum standards on 13 August 2024.

  • ML-KEM (FIPS 203, formerly CRYSTALS-Kyber): replaces RSA and ECC for exchanging keys and general encryption. Built on lattices.
  • ML-DSA (FIPS 204, formerly CRYSTALS-Dilithium): replaces RSA and ECC for digital signatures, the technology that proves who sent something. Built on lattices.
  • SLH-DSA (FIPS 205, formerly SPHINCS+): a backup signature method in case ML-DSA is ever weakened. It uses a different kind of maths, based on hash functions, so a single breakthrough cannot take out both signature methods at once.

ML-KEM is the one most people will meet first, because it protects the moment two devices agree a secret key. Symmetric encryption such as AES-256 stays in place, since quantum computers do not seriously threaten it.

Already in use

Google Chrome, Apple’s iMessage, Signal, Zoom and Cloudflare have begun using ML-KEM, often in a hybrid setup. Hybrid means a classical method and a post-quantum one run together, so the connection stays safe as long as either one holds. It is a sensible hedge while the new methods build up a track record.

The deadlines

A NIST draft recommends that quantum-vulnerable methods such as RSA and ECC be deprecated after 2030 and disallowed after 2035. Google has set itself 2029. Because of “harvest now, decrypt later”, anything that must stay secret beyond those dates needs post-quantum protection now.

What encryption is used for

  • Websites (the padlock icon): keeps what you type and see private, and proves the site is genuine. Uses TLS with ECC or RSA, then AES or ChaCha20.
  • Messaging apps: stops anyone but the recipient reading your messages. Uses end-to-end encryption, such as the Signal protocol.
  • Online banking and card payments: protects card numbers, PINs and transfers. Uses TLS plus chip-card cryptography.
  • Your phone and laptop: makes a lost or stolen device unreadable. Uses AES full-disk encryption like BitLocker.
  • Wi-Fi: stops neighbours snooping on your home network. Uses WPA2 or WPA3, built on AES.
  • Passwords: lets sites check your password without storing it. Uses hashing, such as bcrypt or Argon2.
  • Software updates: proves an update really came from the maker. Uses digital signatures (RSA or ECC).
  • Sending and receiving secrets with SharePass: protects passwords and files shared between people. Uses AES-256 to send, and RSA or ML-KEM to receive.

In short, encryption gives you three things: privacy (no one else can read it), integrity (no one has changed it) and authenticity (it really came from who it says).

AI, quantum computing and the pressure on today’s locks

The encryption that protects you today is still safe, but 2026 showed how quickly the ground is shifting. Two forces are behind it: AI that can build code-breaking tools in days, and future quantum computers that need far less hardware to break encryption than experts once thought.

AI just set a record for breaking RSA

In September 2026, a researcher at the AI company Cognition publicly factored RSA-260, an 862-bit number from a long-running RSA challenge. “Factoring” means finding the two secret prime numbers behind an RSA key, which is how RSA is broken. It was the largest RSA challenge number ever cracked in public, beating a record that had stood since 2020.

What made it remarkable was who did the hard work. An AI coding agent called Devin built the specialised software that ran the attack on graphics processors (GPUs). According to the researcher, it produced a working first version overnight, a job that would otherwise have taken a team of specialists months. The computing time was valued at roughly US$400,000.

It is important to be precise about what was and was not broken:

  • Broken: an 862-bit test number. Independent checks confirm the factors are correct.
  • Now at risk: older 1,024-bit RSA keys. The researcher estimates a large tech company or well-funded state could break one for about US$30 million, and these keys still turn up in some email systems and older devices.
  • Still safe: the 2,048-bit RSA keys that are today’s standard. They are roughly 91 billion times harder to break than RSA-260, far beyond any classical computer.

AI is also finding flaws in brand-new encryption designs. In July 2026, Anthropic reported that one of its AI models found an attack on HAWK, a candidate in the US standards body NIST’s search for next-generation signatures. Its designers withdrew it the following day.

Quantum computers keep getting closer

The real long-term threat to RSA and ECC is the quantum computer. A large enough one, running an algorithm Peter Shor published in 1994, could break both in days or less. That machine does not exist yet, but the estimate of how big it needs to be has fallen dramatically.

How the estimated size of a quantum computer able to break RSA has fallen over time

Each drop came from smarter algorithms and better error correction, not from bigger machines. The newest estimates are preprints that have not yet been peer-reviewed.

The lowest estimate comes with a catch: a 10,000-qubit machine would still need an estimated 120 years to break one RSA-2048 key, so speed remains a barrier. Even so, the gap between what exists and what is needed is closing.

Why it matters now: “harvest now, decrypt later”

Attackers do not need a quantum computer today to cause damage tomorrow. They can copy encrypted data now and store it until they can unlock it. Anything that must stay secret for years, such as health records, legal documents or government files, is already exposed to this risk.

The good news: symmetric encryption like AES-256 is not seriously threatened by quantum computers. The pressure falls mainly on RSA and ECC, the methods used to exchange keys and prove identity.

What if the world woke up tomorrow with no encryption?

The short answer: modern life would stop working within hours. Imagine every digital lock vanished overnight.

  • Your bank account would be open to anyone. Card numbers, PINs and transfers would travel as readable text. Online banking and card payments would have to shut down.
  • Every message would be a postcard. Your emails, texts and chats could be read by anyone on the same Wi-Fi, by your internet provider, or by anyone who intercepted them.
  • You could not trust any website. Without digital signatures, a fake site could pose as your bank or your email provider, and you would have no way to tell.
  • Passwords would be useless. Anyone watching network traffic could collect them as you logged in.
  • Lost devices would expose everything. A stolen phone would hand over your photos, health data and saved logins.
  • Software updates would become a weapon. Criminals could push fake updates carrying malware, and your device could not tell the difference.
  • Critical infrastructure would be exposed. Power grids, hospitals, airlines and emergency services all depend on encrypted systems to operate safely.

It is tempting to think of encryption as a technical detail, something for IT departments to worry about. That stopped being true a long time ago. Money, healthcare, power, transport, government and even how we talk to each other now run almost entirely online. Encryption is no longer just a digital dependency. It has become a civilisational one.

What you can do

Most of the post-quantum upgrade will happen behind the scenes. Here is what you can do in the meantime:

  • Keep your devices and apps updated: updates are how new encryption reaches you.
  • Prefer apps with end-to-end encryption for anything private.
  • Use strong, unique passwords and turn on multi-factor authentication: encryption cannot protect an account if the password is guessed or reused.
  • Do not leave secrets lying around: passwords, keys and personal details pasted into email or chat sit in inboxes for years, which is exactly what “harvest now, decrypt later” attackers want.

Less data left lying around means less data to steal, today or in the quantum era.

Encryption has protected secrets for 2,500 years, and it is not going anywhere. The locks are simply being upgraded for a new generation of lock-pickers.

Sources

  • RSA-260 factored on GPUs with code built by Devin agent, PostQuantum.com, September 2026
  • New findings shorten the road to cryptographically relevant quantum computers, Physics World, May 2026
  • Tracking the cost of quantum factoring, Google, May 2025
  • NIST releases first 3 finalized post-quantum encryption standards, NIST, August 2024
  • NIST’s post-quantum cryptography standards are here, IBM Research, August 2024
  • NIST releases first encryption tools to resist quantum computing, BleepingComputer, August 2024

Access our whitepaper to delve into SharePass’s mechanisms and stay updated on recent cybersecurity developments.

Learn more