Explainer · Updated November 29, 2026

Cryptography Explained: How Encryption Works, From AES to Post-Quantum

Cryptography is the maths that keeps secrets secret. It protects every card payment, every password, every HTTPS website and every Bitcoin transaction. Here is how it works in plain English: the three building blocks, how Bitcoin uses them, why quantum computers are a threat, and the 2030 and 2035 deadlines NIST set this autumn for moving to post-quantum algorithms.


Cryptography Explained: How Encryption Works, From AES to Post-Quantum

Cryptography, 2026

NIST: retire quantum-vulnerable keys after 2030

Original illustration: a padlock over a lattice, the maths behind post-quantum ML-KEM.

$SCRPolygon $— Connecting to Polygon…

Quick answers (updated November 29, 2026)

Definition: Cryptography is the science of protecting information so only the intended people can read or change it.

Three building blocks: Symmetric encryption (AES), hash functions (SHA-256) and public-key cryptography (RSA, elliptic curves).

Bitcoin: Uses SHA-256 for mining and block links, and elliptic-curve signatures (secp256k1) to prove who owns coins.

Quantum threat: Shor’s algorithm on a large quantum computer would break RSA and elliptic-curve cryptography.

Deadlines: NIST IR 8547 (final Oct 27, 2026): deprecate quantum-vulnerable public-key algorithms after 2030, disallow after 2035.

What Is Cryptography?

Cryptography is the practice of turning readable information (plaintext) into unreadable data (ciphertext) with a secret key, so that only someone with the right key can turn it back. Modern cryptography also does three other jobs: proving a message has not been changed (integrity), proving who sent it (authentication), and making sure the sender cannot later deny it (non-repudiation).

It is old. Julius Caesar shifted letters by three, and the German Enigma machine was broken at Bletchley Park in the Second World War. The modern era began in 1976, when Whitfield Diffie and Martin Hellman showed how two strangers can agree on a secret key over a public line, followed by RSA in 1977.

The rule that matters: good cryptography keeps the key secret, not the method. AES, SHA-256 and RSA are fully public, and still secure.

What is cryptography: plaintext, keys, ciphertext, integrity and authentication

The Three Types of Cryptography

The three building blocks of modern cryptography
TypeHow it worksCommon examplesUsed for
Symmetric encryptionOne shared secret key locks and unlocksAES-256, ChaCha20Encrypting files, disks and web traffic
Hash functionsOne-way fingerprint of any dataSHA-256, SHA-3Passwords, file integrity, Bitcoin mining
Public-key (asymmetric)Public key to lock or verify, private key to unlock or signRSA, elliptic curves (ECDSA, Ed25519)HTTPS, digital signatures, crypto wallets

Real systems combine all three. When you open an HTTPS site, public-key cryptography agrees a fresh secret, symmetric encryption protects the traffic, and hashes check nothing was altered on the way.

Types of cryptography: symmetric encryption, hash functions and public-key cryptography

How Bitcoin Uses Cryptography

Bitcoin is applied cryptography. It uses no encryption at all. Instead it relies on two tools:

  • SHA-256 hashing. Every block contains the hash of the one before it, so changing history breaks the chain. Mining is a race to find a number that makes a block’s double-SHA-256 hash fall below a target. That takes trillions of guesses and is why mining runs in purpose-built mining data centers.
  • Elliptic-curve signatures on the secp256k1 curve (ECDSA, plus Schnorr signatures since the 2021 Taproot upgrade). Your private key signs a transaction and everyone can verify it with your public key.

The security of both rests on problems that are easy to check and believed hard to solve, the gap at the heart of the P versus NP problem.

How Bitcoin uses cryptography: SHA-256 mining and elliptic-curve signatures

Quantum Computers and Post-Quantum Cryptography

A large enough quantum computer running Shor’s algorithm could break RSA and elliptic-curve cryptography, which covers most of today’s public-key systems, including Bitcoin signatures. Symmetric encryption and hashes are much safer: Grover’s algorithm only halves their effective strength, so AES-256 stays strong.

The answer is post-quantum cryptography: new public-key algorithms based on problems such as lattices that quantum computers are not known to solve. NIST published the first standards in August 2024: FIPS 203 (ML-KEM) for key exchange, FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) for signatures.

On October 27, 2026, NIST finalised NIST IR 8547, its transition plan. Quantum-vulnerable public-key algorithms are to be deprecated after 2030 and disallowed after 2035, with ML-KEM-768 recommended as the default for key establishment.

Post-quantum cryptography: NIST ML-KEM and the 2030 and 2035 deadlines

What to Do Now

  1. Inventory your cryptography. List where RSA and elliptic-curve keys are used: TLS certificates, VPNs, code signing, wallets.
  2. Prefer hybrid key exchange. Major browsers and cloud providers already combine classical and ML-KEM key exchange. Turn it on where you can.
  3. Keep AES-256 and SHA-256. They remain sound. Use long keys and modern modes.
  4. Crypto holders: avoid reusing addresses, because a spent-from address has exposed its public key. Watch Bitcoin’s post-quantum proposals such as BIP-360.
  5. Plan hardware refreshes for 2030. Network gear, HSMs and firmware bought now should support post-quantum algorithms.
What to do now to prepare for post-quantum cryptography

Cryptography Runs on Data Centers

Every hash, signature and encrypted session runs on hardware: ASICs for Bitcoin mining and GPUs for AI. Many mining sites are now being converted to AI. Price either kind of build before you commit.

Price your own AI build in seconds. The AI Build Configurator shows capital cost by line item, power cost and payback for every Canadian province and US state, by GPU class and cooling type. Try the free demo, or put it on your own site: Standard licence C$4,000 a year, Pro C$10,000, site screening reports from C$950 (see licence plans).

AI Build Configurator

Live AI and HPC build-cost model: CapEx, energy cost and payback by province or state, for 14 GPU and accelerator classes.

Try the free demo →

Mining Data Center Design

Layouts, power and cooling for ASIC mining sites.

Read the guide →

Bitcoin Mine to AI Conversion

Turn a mining site into an AI data center.

See the plan →

P Versus NP Explained

Why easy-to-check, hard-to-solve problems protect encryption.

Read it →

Frequently Asked Questions: Cryptography Explained

1. What is cryptography in simple terms?

Cryptography is the science of protecting information with maths. It scrambles data with a secret key so that only the right people can read it, and it can also prove a message has not been changed and who sent it.

2. What are the three types of cryptography?

Symmetric encryption, which uses one shared key (for example AES-256); hash functions, which make a one-way fingerprint of data (for example SHA-256); and public-key cryptography, which uses a public and a private key (for example RSA and elliptic curves).

3. How does Bitcoin use cryptography?

Bitcoin uses SHA-256 hashing to link blocks and for proof-of-work mining, and elliptic-curve digital signatures on the secp256k1 curve to prove who owns coins. It does not encrypt transactions.

4. Will quantum computers break cryptography?

A large enough quantum computer running Shor's algorithm could break RSA and elliptic-curve cryptography. Symmetric encryption such as AES-256 and hashes such as SHA-256 are much less affected. Post-quantum algorithms are designed to resist quantum attacks.

5. What is post-quantum cryptography?

Post-quantum cryptography means public-key algorithms believed to be safe against quantum computers. NIST's first standards, published in August 2024, are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA).

6. What are NIST's post-quantum deadlines?

NIST IR 8547, finalised on October 27, 2026, says quantum-vulnerable public-key algorithms should be deprecated after 2030 and disallowed after 2035, and recommends ML-KEM-768 as the default for key establishment.