The robot joins its teacher, MY, at an exhibition of cryptographic candidates. Before reading a specification, it recognizes two names from science fiction. We follow it through job descriptions, hard problems and practical costs. The names have romance; a choice still needs reasons.
PQC-2 · PQC-1 Migration · PQC-3 Selection story
Try the interaction: which cryptographic job does this need?
Try one question: which job is missing?
A conceptual matching exercise, not cryptography or product selection. See section 2 for the related roles; buttons require JavaScript.
A cryptography exhibition, or a sci-fi convention?

Two crystal nameplates stop the robot at the entrance. Kyber brings lightsabers to mind: a crystal of that name sits at the heart of a Jedi's lightsaber in Star Wars. Dilithium takes it to Star Trek, where the fictional crystal regulates the matter–antimatter reaction. Names from two different fictional universes have met at this cryptography exhibition.[1][2]
“A little romance from the cryptographers,” MY says, turning over the job descriptions. The associations make the names memorable, but the algorithms need mathematical foundations. Kyber helps two endpoints establish a shared secret. Dilithium creates verifiable digital signatures. Both belong to the CRYSTALS suite and use a mathematical family called lattices.[3][13]
The ML-KEM and ML-DSA names encountered in PQC-1 are standards based on Kyber and Dilithium, respectively. Standardization involved revisions, so a submission and its standardized descendant should not be treated as identical versions. The robot keeps “lightsaber” and “starship” in the margin of its notebook. In the middle, it leaves room for a more useful question: what job would I hire this tool to do?[9]
Engineer extension (optional)
The line about cryptographers' romance is this lesson's description of the sci-fi associations, not a quotation from a designer interview. Kyber is the lightsaber's core crystal; dilithium regulates the reaction rather than serving as fuel. Neither association contributes to a security proof.
What job is each candidate applying for?

Imagine a lock contacting its service center. Its maintenance records should stay private, and its firmware updates should be verifiably from the supplier. These needs lead to two different jobs. Kyber, Classic McEliece, BIKE and HQC establish shared secrets. Dilithium, Falcon and SPHINCS+ provide digital signatures. This map spans different selection stages; the status labels are needed to judge whether a scheme is currently suitable for use.[7][8][9]
A key-encapsulation mechanism, or KEM, gives the two parties a shared secret that a protocol can use for data protection. For a digital signature, the private-key holder signs a message and the recipient checks it with a trusted public key. A signature does not conceal the message, and successful encapsulation does not by itself establish who owns the public key. The first choice is therefore which job needs doing: establishing a secret or checking a message's signing source.[10][6]
The AES data conveyor is still running beside the board, and the SHA and SHAKE workbench has not been removed. This process is not choosing a replacement block cipher or hash function. SPHINCS+ uses hashes to build a signature system. The robot separates tool names, jobs and mathematical families into three columns. Before choosing a name, it needs to know which function is missing.[12][6]
| Candidate / tool | Job | Main foundation | Status or reminder |
|---|---|---|---|
| Kyber → ML-KEM | Shared-secret establishment (KEM) | Module-LWE / lattices | Selected in 2022; ML-KEM has FIPS 203 |
| Dilithium → ML-DSA | Digital signatures | Module-LWE plus a specific short-solution assumption | Selected in 2022; ML-DSA has FIPS 204 |
| Falcon | Digital signatures | NTRU lattices | Selected in 2022; NIST still lists FIPS 206 in development[14] |
| SPHINCS+ → SLH-DSA | Digital signatures | Hash properties and the signature construction | Selected in 2022; SLH-DSA has FIPS 205 |
| Classic McEliece / BIKE | Shared-secret establishment (KEM) | Their respective code / decoding problems | Not selected in NIST's 2025 round; not the same as broken |
| HQC | Shared-secret establishment (KEM) | Quasi-cyclic decoding problems | Selected for standardization in 2025; final FIPS not yet listed |
| AES | Symmetric block cipher | Symmetric-key design | Not a candidate in this PQC process; assess parameters and use conditions |
| SHA-2 / SHA-3 / SHAKE | Hashes / extendable-output functions | Digests and components of larger constructions | Not candidates here; a hash alone is not a signature |
Arrows identify design bases and standardized descendants, not bit-for-bit equivalence. Status checked 2026-10-21. This is a map across stages, not a product recommendation or a single-round roster.[9][12]
Engineer extension (optional)
Public-key encryption encrypts a message; a KEM's interface establishes a shared secret. They are related but have different functions. An appropriate KEM and symmetric encryption can form an encryption construction. Signatures use a private signing key and a public verification key; “private-key encryption” is not a general description. AES and hashes retain their jobs while their parameters still need assessment against the security goal.
Everyone says it is hard. Hard to do what?

In cryptography, calling a problem hard requires explaining the clues available to an outsider. For a signature scheme, the public key and legitimate signatures may be public. An attacker wants to recover the private key or produce another valid signature. The designer must explain why releasing those clues still protects the secret. For a KEM, the questions include whether an observer can obtain the shared secret from public data.[7]
Legitimate users have something the outsider lacks. A private-key holder can follow the rules to sign or decapsulate; an encapsulating party generates fresh secret randomness as specified. Those differences allow the legitimate task while leaving an attacker with a difficult problem. Security analysis has to state what the attacker can see, what results they can request and what they are trying to achieve before the promise can be evaluated.[10][4]
Difficulty also depends on the size of the problem. A few unknowns may be easy to solve, while a specified scale and structure may make recovery difficult enough to protect a secret. Additional public information can also create a shortcut. Parameters, data distributions and the complete construction therefore matter together. The lattice display gives us a visible introduction to a problem that can be easy to describe but difficult to solve.[7][8]
Lattices: how can a grid become a hard problem?

The lattice booth starts with two fixed steps drawn on the floor. Take an integer number of one step and an integer number of the other, and you reach a regular collection of points. A mathematical lattice can be described by integer combinations of basis vectors. The floor helps the robot understand which points belong to the collection before it sees a matrix.[7]
MY changes the task. Finding some point is easy; finding a very short nonzero vector under specified constraints can be another matter. In a low-dimensional drawing, the robot might see an answer immediately. More dimensions introduce choices and relationships that cannot be settled by looking at the page. Short-vector and approximation problems studied in lattice cryptography have their own precise conditions.[7]
The floor also shows where the analogy ends. A cryptographic candidate does not become secure by enlarging a two-dimensional grid. It chooses particular structures, parameters and problems, then builds a useful function. Kyber's noisy relations and Dilithium's short-solution background connect to lattice research, but they should not all be described as one nearest-point game.[3][4]
Engineer extension (optional)
Lattice problems form a family, not a single fixed puzzle. Shortest-vector and approximation problems, LWE and SIS have different definitions and reduction conditions. This section introduces high dimensions and constrained search; it does not turn a general hardness result into a proof for a particular parameter set.
Kyber: why do small errors make the clues hard to reverse?

Start with some unknown values and exact relationships describing them. Enough suitable equations may let linear algebra recover those unknowns. Now add a controlled small error to each relationship. The results no longer line up exactly, and an outsider does not know the individual errors. Learning With Errors, or LWE, studies how difficult it is to recover a secret or recognize the structure from such clues.[3][4]
Kyber uses Module-LWE, which gives those relationships a specified algebraic structure. That structure supports more efficient representation and computation, while secrets and errors are generated according to the specification. An attacker may try to recover the secret or distinguish data containing those relationships from random data. Security depends on the problem, parameters and distributions chosen. Adding errors supplies an intuition; protection comes from the complete design.[3]
Return to the two communicating parties. The encapsulating party receives the other party's public key, generates fresh secret randomness and follows the algorithm to compute a ciphertext and a shared secret. The private-key holder decapsulates the transmitted ciphertext and normally obtains the same secret. An observer sees the public key and ciphertext but should not thereby learn that secret. The KEM establishes a secret for subsequent work rather than directly packing an arbitrarily chosen data key into a box.[3][10]
Engineer extension (optional)
LWE has search and decision forms, while Module-LWE adds module structure. These are not interchangeable APIs. Full KEM security also involves the encapsulation/decapsulation construction, input checks and attack model. Peer identity, protocol binding and subsequent use of the secret remain separate responsibilities.
Dilithium: easy to verify, but hard to impersonate?

The robot brings a message to Dilithium's desk. A legitimate signer holds a private key and returns a signature bound to that message. Other people check it using a trusted verification public key. Publishing the checking rule does not publish the secret needed to produce an acceptable result. Easy checking and difficult forgery must be arranged separately.[4]
Another hard problem begins with checking an answer. Publish a mathematical relationship, and a verifier can substitute a proposed answer to test it. Finding a nonzero answer that satisfies the relationship while keeping every component small can be much harder. This is the intuition behind SIS, a short-integer-solution problem. Its modular arithmetic can initially be understood as comparing remainders after division. Dilithium's analysis involves both noisy secret relationships and short-solution problems, with distinct roles.[4]
A complete signature must also bind the result to a particular message and avoid gradually revealing the private key through published answers. Otherwise an attacker might learn to forge from observed signatures without directly solving the underlying problem. Dilithium therefore needs a full construction, with analysis involving Module-LWE and specific short-solution-related assumptions. Keep two questions in view: why verification is possible and why an outsider cannot readily construct an acceptable result.[4][13]
Engineer extension (optional)
FIPS 204 §3.2 explicitly identifies MLWE and SelfTargetMSIS. The short-solution intuition does not replace the precise SelfTargetMSIS definition or the full security analysis. The strong-unforgeability goal in §3.1 also covers additional valid signatures for previously signed messages, not just signatures on new messages.
Falcon: why another lattice signature?

A narrow transmission passage lies ahead. The robot sees Falcon's compact signatures and immediately wants to award it a prize. Transmission volume can determine connection cost, and storing many signatures matters too. But performing the same signature job does not mean using the same internal design or delivering the same benefit on every platform.[5][7]
Falcon uses NTRU lattices and secret trapdoor sampling. For an initial intuition, the private key supplies a special capability: the legitimate signer can generate suitable short vectors according to the construction. An outsider sees the public relations without readily being able to imitate that capability. Falcon and Dilithium belong to the lattice family, but one is not simply the other's workflow under a new name.[5]
Compact output comes with a demanding signing implementation, including secure sampling and numerical computation. Producing correct results is only part of the task; the implementation must also avoid usable leakage about secrets. A centralized signer serving many verifying devices distributes costs differently between the two sides. The robot puts away its prize and asks which platform, and which endpoint, is supposed to benefit.[5][7]
Error-correcting codes: who can recover what was scrambled?

Start with a simple error-correction example. Send 1 as 111; if one bit changes and 101 arrives, the receiver can use a majority vote to recover 1. Anyone can use that public rule, so it supplies no confidentiality by itself. Code-based cryptography must arrange a legitimate advantage: secret information allows the intended party to handle errors, while an outsider faces a difficult decoding problem. Actual designs carefully choose codes, secrets and error distributions, far beyond this threefold-repetition example.[7][8]
Classic McEliece keeps a useful decoding structure in its private key, giving the legitimate party clues an outsider lacks. BIKE's private key includes sparse checking relationships that support decoding. HQC takes another approach: its error-correcting code is public, while protection relies on separate sparse secrets and noisy relationships. Sparse means that only a small number of positions are nonzero. All three are code-based, but the legitimate party's advantage is arranged differently.[7][8]
Those arrangements affect costs. Classic McEliece has a very large public key and relatively compact ciphertexts. HQC and BIKE have their own data-size, computation and decoding-failure-analysis trade-offs. Their job remains establishing a shared secret; bulk data can then be protected with symmetric encryption such as AES. Evaluation therefore needs separate questions about public-key size, ciphertext size and the computation at each end.[8]
Engineer extension (optional)
Decoding-failure probability matters to correctness and security analysis; it is not merely a small operational nuisance. Analysis and implementation conditions do not transfer automatically between schemes. This lesson gives no parameter values or measurements and does not treat a long history as an absence of security questions. How NIST reached the fourth-round outcomes for Classic McEliece, BIKE and HQC belongs in PQC-3.
SPHINCS+: how can a forest of hashes produce a signature?

A hash computes a fixed-length digest of data. Anyone can perform the same computation, while the chosen function should make specified inversion or collision tasks sufficiently difficult. SPHINCS+ uses such properties to construct a signature system, offering a foundation different from lattice problems. It still requires suitable functions, parameters and a complete construction. A digest alone does not establish who signed a document.[6]
The system adds secret material known only to the signer, builds lower-level signatures with limited use, and organizes them through tree-shaped verification relationships. A verifier computes and checks the information supplied with a signature until it reaches the trusted public root value. That path connects a particular signature to the same public identity, allowing many lower-level signatures to form one system. The hash tree supplies the links and checks; secret material still supplies the signing capability.[6]
SPHINCS+ is stateless, reducing dependence on reliably saving signing-use progress after each operation. Private keys and secure signature-generation conditions still need protection. Signature size and computation also have costs. The robot finds Academia Sinica's 2024 announcement, which lists SPHINCS+ team member Ruben Niederhagen as affiliated with the institution in Taiwan. The international team list also connects to Taiwan's research community.[6][11]
Engineer extension (optional)
WOTS+, FORS and the hypertree are components encountered in deeper reading. Statelessness does not permit unlimited reuse of a bottom-level signing key or remove all secret-management requirements. SLH-DSA is the standard based on SPHINCS+. Academia Sinica's 2024 announcement supplies team membership and affiliations at that time, not nationality or proof of an institutional affiliation throughout the design period.
What other ideas are in the historical gallery?

The multivariate approach starts with nonlinear equations containing many unknowns. It aims to make solving difficult for outsiders while giving a legitimate signer useful secret structure. Rainbow and GeMSS both explored that route, with specific designs that must be judged separately. Rainbow suffered effective attacks on conventional computers and should not be used; major attacks also weakened GeMSS. Those findings concern the corresponding constructions, while other multivariate designs remain under research.[7]
SIKE tried to establish a shared secret using isogenies between elliptic curves. As an introduction, think of a route studying particular transformations between curves, distinct from the discrete-logarithm problem used by conventional ECC. SIKE suffered effective attacks on conventional computers and should not be used. The exploited design and public information determine whether an attack applies to other isogeny schemes. The next lesson follows how that research changed its evaluation.[8]
Picnic's desk holds symmetric primitives and zero-knowledge proofs. The intuition is to give evidence bound to a message that the signer knows a secret without directly disclosing it. The full design must turn that proof into a publicly verifiable signature. Picnic was a third-round alternate and was not selected for NIST standardization; proof size and computation have costs too. The robot need not memorize every name, but each notebook entry needs a job, an idea and a status.[7]
Would a small device and a narrow network choose the same tool?

MY changes the exhibition's operating conditions: first a memory-limited device, then a narrow link where transmission is expensive. For a KEM, public keys, encapsulation ciphertexts and computation need separate entries. For signatures, public keys, signatures, signing and verification must be separated too. Combining everything into one score called “smaller” hides the actual bottleneck.[7][8]
A tool with a large public key and compact ciphertext may look different depending on how often the key is transmitted and where it is stored. Compact signatures may leave more demanding work at the signing endpoint. Hash-based signatures offer a different security foundation with their own data and computation costs. The value of the same feature changes when the operating conditions change.[5][6][8]
The robot now fixes the job first, then asks about security conditions, parameters and platform before looking at measurements. A KEM timing cannot award a prize to a signature scheme, and isolated numbers from different computers do not settle a comparison. Nor can a historical scheme's attractive public key erase its attack warning. This exhibition teaches a comparison method; it does not select cryptography for a real product.[7][8]
| Candidate | What attracts attention | What must be considered |
|---|---|---|
| Kyber | Balance of computation and data volume | Transmission, lattice assumptions and secure implementation; identity binding remains |
| Dilithium | Balance of efficiency and implementation choices | Typically larger signatures than Falcon; leakage control still matters |
| Falcon | Compact signatures | Secure sampling and numerical implementation challenges |
| SPHINCS+ | A foundation distinct from lattices; stateless design | Signature size and computation; parameters trade these differently |
| Classic McEliece | Relatively compact ciphertexts | Very large public keys and their transmission / storage requirements |
| HQC / BIKE | Code-based routes beyond lattices | Data, computation and their respective decoding-failure analyses |
Measurements still require fixed parameters, platform and application at comparable security conditions. This qualitative table contains no measured ranking and does not endorse deploying historical candidates.[3][4][5][6][8]
Before leaving, can you explain your choice?

Back at the entrance, the robot still likes the lightsaber and starship crystal names. It no longer rushes to name a champion. To establish a shared secret, it looks at KEMs; to let others check a signed origin, it looks at signatures. Then it asks which hard problem the candidate places before the attacker and what data, computation and implementation costs come with it.
Change the setting to electronic tickets. One service signs them, while many low-memory readers verify them. Signing and verifying endpoints may face different limits, and tickets, signatures and public keys may be transmitted at different frequencies. Those conditions change the comparison. An algorithm's reputation or one output-size figure cannot settle the design.
Those sci-fi associations gave unfamiliar names a welcoming entrance. Now the robot can attach ideas to those names: noisy and short-solution lattice problems, code-based decoding problems, and signatures constructed from hashes and other tools. PQC-3 will turn to the actual evaluation record: how public challenges changed judgments, why several tools remained, and how Taiwan's teams contributed.
What to take away
- Separate the jobs: KEMs establish shared secrets; signatures support message verification; AES and hashes retain their roles.
- Ask what is public, what must be found and which conditions the legitimate party has.
- Lattice, code and hash-based routes have different assumptions; candidates also need full constructions and secure implementations.
- Then examine costs and status. A name, one size or the phrase quantum-resistant cannot select a scheme.
Next lesson
PQC-3: selection is more than a speed contest. How did public analysis change candidates' prospects, and what did Taiwan's teams contribute?
Learning check: think before opening the answer
1. To establish a shared secret between endpoints, should you look at KEMs or signatures?
Start with KEMs. A suitable protocol must still arrange data protection and authentication; a signature does not hide the data.
2. Kyber and Dilithium both use lattices. Do they solve the same problem and perform the same job?
No. Kyber is a KEM with Module-LWE as an important basis. Dilithium is a signature whose analysis involves Module-LWE and a specific short-solution-related assumption. A shared family does not imply identical functions or constructions.
3. One server signs electronic tickets and many small readers verify them. Why is signing speed alone insufficient?
Readers bear verification, memory and received-data costs, while the server bears signing and private-key protection. Tickets, signatures and public keys may also be sent at different frequencies. Compare the conditions on both sides.
4. Someone calls SPHINCS+ a new hash and proposes only replacing a document-digest function. What is wrong?
SPHINCS+ is a signature system built from hashes, secrets, signature components and tree authentication. Anyone can compute a digest; it alone does not establish a signer. Replacing a hash does not deploy the signature system.
5. A historical candidate has a small public key but has suffered effective attacks on ordinary computers. Does a tiny device justify choosing it?
Size cannot restore a lost security basis. Check current status before comparing choices that still meet the security requirement. A specific scheme's failure also does not condemn its entire mathematical family.
Glossary
- KEM
- Key-encapsulation mechanism: establishes a shared secret rather than encrypting an arbitrary message through its interface.
- PKE
- Public-key encryption: encrypt a message using a recipient's public key and decrypt with the corresponding private key.
- Digital signature
- Private-key signing and public-key verification; the binding between the public key and its claimed owner must also be trusted.
- Lattice
- Points generated by integer combinations of basis vectors; the setting supports several different computational problems.
- Module-LWE
- Learning With Errors over a module structure; secrets, errors and parameters are part of the specified problem.
- Module-SIS
- A module-structured short-integer-solution problem: find a short nonzero solution to a specified relation; distinct from a full signature construction.
- Trapdoor
- A secret capability enabling a specified task; not an attacker-accessible backdoor.
- Stateless signature
- A signature design that does not require persistent signing-use progress after each operation; secrets and generation conditions still need protection.
Primary sources
- Star Wars Databank — Kyber Crystal
- Star Trek — The Science Behind Discovery's Burn
- CRYSTALS-Kyber — design team
- NIST FIPS 204 — ML-DSA, especially §3.2
- Falcon — design team and specification
- NIST FIPS 205 — SLH-DSA
- NIST IR 8413-upd1 — third-round report
- NIST IR 8545 — fourth-round report
- NIST — selected algorithms, checked 2026-10-21
- NIST SP 800-227 — KEM recommendations
- Academia Sinica — SPHINCS+ and FIPS 205 announcement, 2024
- NIST — PQC FAQs, symmetric cryptography and KEM/PKE
- CRYSTALS-Dilithium — design team and resources
- NIST — PQC standardization process, checked 2026-10-22