Learn
Unaudited educational explainer. Sources verified as of 6 December 2026.
Password-based sites typically store slow salted hashes (bcrypt, scrypt or Argon2). Sessions may use opaque cookies or signed JSON Web Tokens (JWTs) with RSA (RS256), ECDSA (ES256) or Ed25519 (EdDSA). TLS 1.3 typically uses ephemeral elliptic-curve Diffie–Hellman (ECDHE, with X25519 or P-256) for key exchange and RSA or ECDSA certificates for authentication. WebAuthn passkeys typically use ECDSA P-256 (ES256) credential keys. [29]
Phishing sends users to look-alike sites. Credential stuffing tries reused passwords against other sites. A database breach lets an attacker guess passwords offline against stolen hashes. A stolen bearer token can be used by whoever holds it.
Why computational cryptography works
A one-way function is efficient to evaluate and hard to invert on typical inputs with feasible resources. A trapdoor construction makes the reverse operation efficient for someone with the right private information. Factoring an RSA modulus N = p·q enables private-key recovery. Other attacks on deployments can take routes such as padding bugs or timing leaks, and general equivalence of RSA inversion and factoring is unproven.
Finite-field discrete logarithms ask for d given g and gᵈ. Elliptic-curve discrete logarithms ask for d given G and d·G. Symmetric security uses a different assumption. With enough known input and output to check a guess, generic exhaustive search of a k-bit key space takes order 2ᵏ trials.
Computational security assumes bounded adversarial resources. Information-theoretic security can hold even against an adversary with unlimited computation, as with a properly used one-time pad. Hardness assumptions address the mathematical problem. Software, randomness, key custody and side channels also determine the security of a deployment.
Prime generation samples candidates and uses efficient primality tests. Primality testing answers whether a number is prime. Factoring a given composite asks for its actual prime divisors.
- Multiply
- Choose two primes, 5 and 11. Their product is 55.
- Reverse
- Given only 55, look for a divisor. 55 ÷ 5 = 11, so the factors are 5 and 11.
- Scale
- Toy values make both directions easy. RSA relies on factoring being hard at realistic sizes.
A classical bit has value 0 or 1. An n-qubit pure state is a normalized superposition over up to 2ⁿ computational basis states. A quantum operation can act coherently on this superposition. Measurement in that basis produces one outcome per run, sampled by its probability. Relative phases affect what happens when amplitudes combine under subsequent gates. [37][38]
| Operation | 00 | 01 | 10 | 11 |
|---|---|---|---|---|
| Equal amplitudes | +½ | +½ | +½ | +½ |
| Phase change on 10 | +½ | +½ | −½ | +½ |
| Interference after diffusion | 0 | 0 | +1 | 0 |
| Measurement probabilities | 0% | 0% | 100% | 0% |
Amplitudes, gates and error correction
Gates are unitary transformations that preserve normalization and are reversible. A classical function can be evaluated reversibly by retaining its input and XOR-ing its output into an auxiliary register. This allows coherent evaluation across basis states. Interference combines complex amplitudes before measurement. It does not read out a list of function values. [37][38]
Physical qubits are hardware. An error-correcting code can encode a logical qubit across multiple physical qubits. Fault tolerance uses operations and error correction designed to keep faults from spreading uncontrollably as a circuit runs. The overhead matters when estimating cryptanalytic scale. [21][17]
On a cryptanalytically relevant quantum computer (CRQC), Shor’s algorithm breaks the mathematical assumptions behind RSA, finite-field Diffie–Hellman and elliptic-curve cryptography (ECDH, ECDSA and EdDSA). Increasing RSA or ECC key sizes does not solve the migration problem. [4][2]
Grover’s algorithm gives a quadratic speedup for brute-force search. NIST expects little or no practical advantage against AES because Grover is difficult to parallelize. CNSA 2.0 specifies AES-256 and SHA-384/512. The migration focus is public-key cryptography. [9][4]
Grover’s algorithm · searching smarter
For a predicate check(x) = (x × x == 9) over x ∈ {1, 2, 3, 4}, reversible evaluation and phase kickback implement a phase oracle: it evaluates the predicate to flip the phase on candidate 3. The circuit encodes the check and needs no precomputed solution. The phase flip alone leaves the measurement probabilities unchanged. [35][37]
Initialize a uniform superposition, apply the oracle, then apply diffusion (reflection about the mean amplitude). Repeat the iteration as needed, measure one candidate and verify it by evaluating the predicate. In the ideal four-state case with one solution, the oracle changes [0.5, 0.5, 0.5, 0.5] to [0.5, 0.5, −0.5, 0.5]. The mean is 0.25 and diffusion yields [0, 0, 1, 0]. [35][37]
For one marked state in N candidates, classical exhaustive search takes O(N) checks and Grover takes O(√N) oracle queries, with an approximately optimal iteration count of π√N/4 for large N. Each iteration rotates the state toward the marked direction until it passes the optimum. Further iterations can then lower success probability. [35][37]
An AES oracle could test candidate keys against sufficient known plaintext and ciphertext. AES-256 exhaustive search scales as about 2²⁵⁶ classical trials or 2¹²⁸ idealized quantum queries. This halves the exponent of the generic search cost. Each query requires a coherent circuit, and gate counts, fault correction, parallelism and wall time determine practical cost. [9][35]
| Stage | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Initialize · amplitudes | +½ | +½ | +½ | +½ |
| Mark · amplitudes | +½ | +½ | −½ | +½ |
| Diffuse about mean ¼ | 0 | 0 | +1 | 0 |
| Measure · probabilities | 0% | 0% | 100% | 0% |
| Verify the outcome | 1² ≠ 9 | 2² ≠ 9 | 3² = 9 | 4² ≠ 9 |
Shor’s algorithm · finding a hidden period
Modulo 12, 10 + 5 ≡ 3. For coprime integers a and N, the multiplicative order r is the least positive integer satisfying aʳ ≡ 1 (mod N). For a = 2 and N = 21, the successive remainders for exponents 0 through 6 are 1, 2, 4, 8, 16, 11, 1. Hence r = 6. [36][38]
When r is even and a^(r/2) is neither 1 nor −1 modulo N, the difference of squares (a^(r/2) − 1)(a^(r/2) + 1) is divisible by N and GCDs can yield nontrivial factors. Here 2³ = 8, GCD(7, 21) = 7, and GCD(9, 21) = 3. Unsuitable bases or unhelpful measurements can require retries. [36][38]
Shor evaluates modular exponentiation coherently on a superposition of exponents. Fourier interference concentrates measurement outcomes near ratios with denominator r. Classical continued fractions recover candidate periods, which are checked before the GCD step. Shor factors in polynomial time in the input bit length on a suitable quantum computer. The General Number Field Sieve, the best known general-purpose classical factoring algorithm for large integers, has heuristic subexponential running time. [36][38]
| Exponent | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| Remainder | 1 | 2 | 4 | 8 | 16 | 11 | 1 |
How Shor affects elliptic curves
Scalar multiplication is efficient. Recovering d from Q and G is the elliptic-curve discrete logarithm problem, believed hard classically at cryptographic sizes. Shor solves discrete logarithms in polynomial time on a suitable quantum computer. [36]
This affects secp256k1 signatures in Bitcoin and Ethereum, Ed25519 signatures in Solana, ECDSA passkeys, and ECDH including X25519. For JWTs, ES256 and EdDSA depend on elliptic curves, while RS256 depends on RSA. Classical ECDSA and RSA TLS certificate authentication also depend on these families. [36][19][29]
Multiparty computation (MPC), hardware security modules (HSMs), trusted execution environments (TEEs) and secure enclaves protect key custody or execution. A mathematical attack that derives a private key from public information bypasses those protections.
- Efficient direction
- Private scalar d and public point G → public point Q = d × G.
- Hard direction on classical computers
- Public points Q and G → recover d.
- Quantum impact
- Shor gives a shortcut for the discrete logarithm. [36]
Shor targets specific public-key assumptions. Symmetric encryption and hashing face different generic attacks. The effect on a hash depends on the security property you need. For an ideal n-bit hash and ordinary fixed-length targets, generic classical search for a preimage or second preimage takes order 2ⁿ evaluations and quantum search takes order 2^(n/2) queries. Generic collision search uses a birthday bound of order 2^(n/2) classically. The ideal quantum collision query bound is order 2^(n/3) in a model with substantial coherent resources. Query bounds alone do not establish practical attack costs. [35][46][9]
Compare sizes by what is transmitted or stored. A public key, signature and KEM ciphertext serve different purposes. Equal byte counts across mathematical families do not imply equal security.
| Algorithm or property | Purpose | Quantum impact | Migration approach | Used by LatticeJam |
|---|---|---|---|---|
| RSA | Encryption and signatures | Shor on a CRQC [36] | ML-KEM or PQ signatures, according to purpose | Classical WebPKI and TLS authentication in the observed connection |
| Finite-field DH | Key establishment | Shor on a CRQC [36] | ML-KEM | No |
| ECDH / X25519 | Key establishment | Shor on a CRQC [36] | ML-KEM or a secure hybrid | Yes, at TLS only |
| ECDSA | Signatures | Shor on a CRQC [36] | ML-DSA | Classical local WebAuthn credential option |
| Ed25519 | Signatures | Shor on a CRQC [36] | ML-DSA | No |
| AES-128 | Encryption | Grover reduces generic search margin [9] | Assess requirements | No |
| AES-256 | Encryption | Substantial generic search margin remains [9] | Retain | Image encryption and vault wrapping |
| SHA-256 | Hashing | Depends on the property below | Assess each use | Fingerprints, ciphertext and session hashes, PRF input salt, HKDF |
| SHA-384 / SHA-512 | Hashing | Substantial margin for many uses | Retain where appropriate | SHA-512 for the HPKE KDF and safety numbers |
| Hash preimage | Given a digest, find an input | Ideal n-bit hash: O(2^(n/2)) quantum queries | Choose sufficient output length | Relevant to session token hashes |
| Hash second preimage | Given an input, find another with the same digest | O(2^(n/2)) in the simple fixed-target model | Choose sufficient output length | Relevant to a fixed, signed ciphertext hash |
| Hash collision | Find any two distinct inputs with the same digest | O(2^(n/3)) ideal quantum queries with substantial resources [46] | Use collision-strength estimates | Relevant to signed hashes and key fingerprints when both inputs are attacker-controlled |
| HMAC | Message authentication and key derivation | Depends on the key, hash and tag length [9] | Use strong keys and suitable hashes | Inside HKDF for HPKE and the vault |
| ML-KEM | Key establishment | No known efficient quantum attack at standard parameters [5] | Post-quantum KEM | ML-KEM-768 in HPKE and in hybrid TLS when negotiated |
| ML-DSA | Signatures | No known efficient quantum attack at standard parameters [6] | Post-quantum signatures | ML-DSA-65 for account proofs, share headers and bundles |
| SLH-DSA | Signatures | Hash-based post-quantum design [7] | Alternative mathematical foundation | Future work |
An adversary can record encrypted traffic protected by classical public-key exchange now and attack its key exchange offline once a CRQC exists. NIST identifies this as a reason to prioritize FIPS 203 key establishment for data with long confidentiality lifetimes. [15][11]
EO 14412 requires post-quantum key establishment by 31 Dec 2030 and post-quantum signatures by 31 Dec 2031 for federal high-value assets and high-impact systems. [15]
*Post-quantum key exchange is believed resistant to known classical and quantum attacks.
Four ways old data and new attacks interact
1. A passive adversary records a classical public-key handshake and its encrypted traffic. A later cryptanalytic advance could recover the session secrets and open the recorded traffic. [15][11]
2. An attacker who gains a signing capability can forge fresh authentication challenges. A proof from a completed login has already served its purpose, and LatticeJam challenges expire and are consumed once.
3. Long-lived software, firmware, documents and roots of trust may still be checked under signing keys years later. Verifiers that continue to trust vulnerable keys can be fooled by future forgeries. [34][15]
4. If the recipient’s long-term ML-KEM private key leaks, an attacker with historical encapsulations and ciphertext can reconstruct the per-share secrets and open those shares.
The two encryption boundaries
HTTPS encrypts the browser-to-server connection. The server terminates TLS and sees request data, including routing information. The inner HPKE layer encrypts the image from the sending browser to the recipient browser, so the relay receives the payload as ciphertext. [31]
LatticeDrop lacks share forward secrecy against later compromise of the long-term recipient ML-KEM key. TLS forward secrecy is a separate property of transport key establishment. Ephemeral TLS keys can protect old connections against later theft of a TLS certificate private key, assuming the key exchange remains secure. That cannot protect the recorded inner ciphertext against compromise of its own recipient key.
These federal requirements apply to agencies, covered contractors or National Security Systems according to their scope. NIST’s transition guidance and federal deadlines signal the direction of industry migration. Ordinary web apps are outside the scope of the federal mandates. [1][15][16][4][11]
- 4 May 2022guidance
NSM-10
Defines the CRQC threat and targets completion of federal migration by 2035. [1][11]
- Sep 2022 · revised Oct 2026mandate
CNSA 2.0
The current NSA FAQ (v2.2) specifies ML-KEM-1024 and ML-DSA-87 for National Security Systems (NSS), plus LMS/XMSS for firmware, AES-256 and SHA-384/512. New NSS acquisitions require CNSA 2.0 from 1 Jan 2027. Equipment without support phases out by 31 Dec 2030. Full use of CNSA 2.0 algorithms is mandatory by 31 Dec 2031. Earlier schedules ran through 2033/2035. Check the current FAQ. [4]
- 18 Nov 2022mandate
OMB M-23-02
Requires an annual cryptographic inventory and migration preparation. It lists algorithms vulnerable to a CRQC. [2]
- 21 Dec 2022mandate
Public Law 117-260
Requires OMB guidance on inventory and migration to post-quantum cryptography. [3]
- 13 Aug 2024guidance
FIPS 203, 204 and 205
NIST publishes standards for ML-KEM, ML-DSA and SLH-DSA. Falcon (FN-DSA) is selected for FIPS 206, which is in development. [8][5][6][7]
- 12 Nov 2024guidance
IR 8547 draft
The draft proposed deprecating 112-bit RSA/ECC in 2030 and disallowing it in 2035. The final report, published 27 Oct 2026, states the schedule as deprecation after 2030 and disallowance after 2035. [10][11]
- 11 Mar 2025guidance
HQC selected
NIST selects the code-based HQC as a backup KEM to ML-KEM, using different mathematics. [12]
- 6 Jun 2025mandate
EO 14306
Directs CISA to list product categories with widely available PQC and agencies to support TLS 1.3 or its successor by 2 Jan 2030. [13]
- 23 Jan 2026guidance
CISA product lists
CISA publishes the post-quantum product categories. [14]
- 22 Jun 2026mandate
EO 14412
Sets deadlines for federal high-value assets and high-impact systems. Calls for a proposed FAR rule within 180 days requiring covered contractors to comply with PQC-incorporating FIPS by 31 Dec 2030, cryptographic bill of materials (CBOM) guidance within 270 days, and a NIST pilot by the end of 2027. [15]
- Jun 2026mandate
OMB M-26-15
Implements EO 14412. Plans are due 120 days after the memo. Agencies prioritize reducing as much quantum risk as feasible by 31 Dec 2030. NSS are outside the memo’s scope. [16]
- 25 Aug 2026guidance
WebAuthn Level 3
Becomes a W3C Recommendation. [29]
- 27 Oct 2026guidance
IR 8547 final
NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow it after 2035. The final guidance accommodates hybrid schemes. [10][11]
- 2 Dec 2026guidance
NSA immediate transition guidance
Advises National Security Systems owners, operators and vendors to accelerate their transition. Inventory cryptographic dependencies, assess and triage risk, prioritize firmware signatures and hardware roots of trust, verify vendor readiness, and plan for cryptographic agility and capacity. [34]
- 5 Dec 2026voluntary
OpenAI and Anthropic joint statement
The companies report separate discoveries of undisclosed mathematical weaknesses and target the first half of 2027 for their own migrations, with critical systems finishing earlier. [33]
- 31 Dec 2030mandate
Key establishment
Post-quantum key establishment deadline for federal high-value assets and high-impact systems. [15]
- 31 Dec 2031mandate
Digital signatures
Post-quantum signature deadline for the same federal systems. [15]
- 2035guidance
Federal migration target
Mandates, guidance and voluntary targets
EO 14412 and OMB M-26-15 set requirements for covered federal systems. The 2 December NSA release is guidance advising National Security Systems owners, operators and vendors to accelerate migration. It calls for inventories, risk assessment and triage, firmware and hardware root-of-trust prioritization, vendor-readiness checks, and capacity planning for cryptographic agility. The release discusses recent disclosures alongside quantum risks and warns that adversaries are already collecting encrypted data. [15][16][34]
OpenAI and Anthropic voluntarily moved their own migration targets to the first half of 2027, with critical systems finishing earlier. Their 5 December joint statement says the government referred to their discoveries in its 2 December announcement. [33]
NSM-10 and EO 14412 frame migration around CRQC risk and harvest-now-decrypt-later. The December NSA guidance discusses recent disclosures alongside quantum concerns. The 5 December joint statement introduces a separate pathway, AI-assisted mathematical discovery. [1][15][34][33]
| Pathway | What changes | What the work targets |
|---|---|---|
| A · Quantum computing | Quantum hardware + known algorithms → | Mathematical attacks [36][35] |
| B · AI-assisted implementation research | Bug or side-channel discovery → | A specific implementation [22][23] |
| C · AI-assisted mathematical discovery | New insights about the underlying math → | Potential new cryptanalytic techniques [33] |
Category A · Quantum computing
Human algorithmic research has reduced resource estimates. In May 2025 Gidney estimated factoring RSA-2048 in under a week with fewer than a million noisy qubits, about 20× fewer than the 2019 estimate of 20 million qubits and eight hours. The newer estimate assumes a square grid, 0.1% gate error, a 1 µs surface-code cycle and 10 µs reaction time. It describes a hypothetical computation. [17][18]
One 2026 secp256k1 preprint estimates ≤1,200 logical qubits and ≤90 million Toffoli gates, or ≤1,450 and ≤70 million. It estimates fewer than half a million physical qubits and minutes of runtime under its assumptions. A later preprint estimates 835 logical qubits with many more Toffoli gates. These results trade qubits against work and runtime, and illustrate why 256-bit elliptic curves are a smaller target than RSA-2048. [19][20]
Google’s 105-qubit Willow chip demonstrated error correction below the surface-code threshold. It remains far from the scale required for these attacks. [21]
Shor at these scales requires a fault-tolerant quantum computer. The estimates describe hypothetical computations under stated assumptions. No CRQC has been publicly demonstrated at these cryptographic scales. [17][19][20]
Category B · AI-assisted implementation attacks
AISLE reports that its AI system found all 12 CVEs in the January 2026 OpenSSL release and five of seven in the 7 April release. These are vendor claims about finding implementation bugs, a capability relevant to attackers and defenders. [22]
ML-assisted power analysis has targeted embedded ML-KEM implementations. One study reported recovering a 32-byte message from a single power trace on a specific device. Such work targets measurable device behavior. [23][24]
As a separate line of mathematical experimentation, SALSA and the LWE benchmark recover sparse secrets in reduced settings and have not been shown to threaten ML-KEM parameters. Yilei Chen’s April 2024 claim of a quantum algorithm for LWE was withdrawn after a bug was found. [25][26][27]
A USENIX Security 2026 study with 7,700 participants reported almost triple the click rate for LLM-personalized spear phishing versus generic phishing, at about $0.03 per email. Passkeys bind the credential to the real site. [28][29]
Category C · AI-assisted mathematical discovery
In a 5 December 2026 joint statement, OpenAI and Anthropic reported that separate investigations with unreleased models found mathematical weaknesses in some cryptography protecting the internet. The government referred to the discoveries in its 2 December announcement. [33][34]
Both companies say their findings concern weaknesses in underlying mathematics that have always existed. They say NIST’s post-quantum standards rely on different principles and are unaffected by these findings, which they do not consider an immediate public threat. They promptly reported the results to the US government and consulted on disclosure. They restricted access, are increasing safeguards and are withholding methods and exact discovery timelines. They say the findings are unrelated to Anthropic’s recent lattice papers. [33][45]
Both companies moved their own post-quantum migrations to the first half of 2027, with critical systems finishing earlier. The statement leaves the affected algorithms, attack costs, necessary hardware and practical feasibility undisclosed. [33]
Distinguish execution improvements, a new cryptanalytic algorithm, a reduced security margin and practical compromise. A new shortcut executable on classical hardware is a possibility in principle. The statement does not say that this happened. Implementation findings are another pathway, as in Category B.
Computational assumptions are evaluated against the best known attacks. A mathematical advance can change those costs even when hardware stays the same. The results below concern separate questions, and the joint statement has established no connection to them. [33][39][40][41]
Riemann Hypothesis
The Riemann Hypothesis concerns the nontrivial zeros of the Riemann zeta function and has implications for error bounds in estimates of prime counts. On 20 November 2026 Levent Alpöge announced a formally verified proof. Clay acknowledged the announcement on 4 December. Human evaluation and understanding are ongoing, and Clay has yet to award the prize. [39]
Estimating prime density and generating primes efficiently are different from decomposing one given RSA modulus. A proof supplies no efficient factoring algorithm by itself. Its techniques could have broader applications.
P vs NP
P vs NP asks whether every decision problem with polynomial-time verifiable certificates is solvable in polynomial time. Clay lists it as unsolved. A constructive P = NP result with practical algorithms could threaten computational cryptography, including lattice-based cryptography. A polynomial such as O(n¹⁰⁰) can remain impractical. P ≠ NP alone would not establish average-case hardness or the security of a specific construction. [40]
VP vs VNP
Anthropic’s formal-math README claims VP ≠ VNP over every field. It claims more than m^(c (log m)^(1/3)) gates for the Hamiltonian cycle polynomial and the permanent outside characteristic 2, including approximating circuits, and claims VNP is outside the closure of VP. VP vs VNP concerns algebraic circuit complexity and does not settle P vs NP. [41]
An internal Claude research model found the result, according to the README. AI models wrote the paper and Lean 4 formalization. Lean checks the formal proof, and the README says no human mathematician has checked it. The machine check does not establish that the formal statement faithfully expresses the advertised result. Treat it as a research artifact. [41]
A lattice is the set of integer combinations of linearly independent basis vectors. Different bases can generate exactly the same set of points. The shortest vector problem (SVP) asks for a shortest nonzero lattice vector. The closest vector problem (CVP) asks for a lattice point nearest a supplied target. A two-dimensional picture gives intuition for distance and basis choice, while real constructions involve much higher dimensions. [5][6]
Learning With Errors (LWE) gives samples of linear relations with small unknown errors modulo q. With sufficiently many independent clean equations, linear algebra recovers the secret. Bounded errors turn exact equations into a noisy inference problem. Module-LWE organizes vectors and matrices over a structured polynomial ring. Module-SIS asks for a short nonzero module vector that maps to zero under a public modular linear map. These settings are related to lattice problems, with distinct definitions and assumptions. [5][6]
Lattice reduction replaces a basis with a more useful one spanning the same lattice. BKZ works on blocks of basis vectors to find shorter or more nearly orthogonal vectors. Its cost depends heavily on block size and attack parameters. ML-KEM uses polynomials with coefficients modulo 3329, reduced modulo x²⁵⁶ + 1. The ring lets arithmetic retain structure while operating on many coefficients. [5]
Shor exploits periodic structure for factoring and discrete logarithms. Those reductions do not give an efficient algorithm for the relevant lattice problems. Adding noise is not a general barrier to quantum algorithms. [36][5]
- Change basis
- The arrows (1, 0) and (0, 1) generate the same integer grid as (1, 0) and (1, 1).
- Clean observations
- x + y = 5 and x − y = 1 give x = 3, y = 2.
- Bounded errors
- With observed values 6 and 1 and errors of at most 1, both (3, 2) and (4, 2) fit. Many modular observations in high dimensions give the real problem a different scale and structure.
FIPS 203 specifies ML-KEM, based on Module Learning With Errors (Module-LWE). Its public key can be understood as a public matrix A and a noisy product t. Without the small error vector e, Gaussian elimination can solve for the secret s. With the noise, the best known attacks use lattice reduction such as BKZ. Shor does not solve Module-LWE, and no efficient quantum algorithm is known. [5]
KeyGen produces an encapsulation key (ek) and a decapsulation key (dk). Encaps(ek) produces a shared secret K and ciphertext c. Decaps(dk, c) recreates K. The KEM establishes a secret for symmetric encryption. A Fujisaki–Okamoto-style transform provides chosen-ciphertext security with implicit rejection: invalid ciphertexts produce a pseudorandom key. [5]
ML-KEM-768 is NIST category 3. Its encapsulation key is 1184 B, expanded decapsulation key 2400 B, ciphertext 1088 B and shared secret 32 B. The key and ciphertext are 34–37 times the size of a 32-byte X25519 share. [5]
Both parties establish the same shared secret.
How Bob and Alice agree on a secret
The KEM ciphertext is a public encapsulation, not the payload ciphertext. HPKE base mode binds the sender and recipient names in the info field and uses HKDF-SHA512 to derive the AEAD context. AES-256-GCM seals the image envelope and adds a 16-byte authentication tag. Encapsulation establishes a secret for the supplied key. It does not authenticate who owns that key. LatticeJam verifies the self-signed bundle and pins the first observed bundle fingerprint. A changed fingerprint blocks use until explicitly accepted. Comparing the safety number with the contact on a trusted channel lets the user mark that pin verified. [5][31]
LatticeJam uses @hpke/core and @hpke/ml-kem 0.3.1. RFC 9180 defines the HPKE framework. The KEM package implements the separate draft-connolly-cfrg-hpke-mlkem extension. IANA registers ML-KEM-768 as 0x0041, citing draft-connolly-cfrg-hpke-mlkem-04, with Nenc = 1088, Nsecret = 32, Npk = 1184 and Nsk = 64. The latter is the seed form used by HPKE. FIPS 203’s expanded decapsulation key is 2400 bytes. The follow-on draft-ietf-hpke-pq is revision -05 (July 2026). [31][5][42][43][44]
An invalid, correctly sized KEM ciphertext can cause implicit rejection, yielding an unrelated substitute secret. The derived AEAD key then fails to open the authentic payload. In the app, a changed encapsulation or payload also faces the signed-header and hash checks before HPKE open. [5][31]
- 1 · Bob generates
- Generate an ML-KEM keypair in Bob’s browser.
- 2 · Alice checks
- Obtain Bob’s authentic public encapsulation key (1184 B).
- 3 · Alice encapsulates
- Run ML-KEM-768 encapsulation to that key.
- 4 · Alice gets two outputs
- A 1088-byte KEM ciphertext and a local 32-byte shared secret.
- 5 · Alice sends
- Send the KEM ciphertext alongside the sealed photo.
- 6 · Bob decapsulates
- Use the private key and KEM ciphertext to recover the secret.
FIPS 204 specifies ML-DSA (Dilithium), based on Module-LWE and Module-SIS (Short Integer Solution). Fiat–Shamir with Aborts commits to a masked random vector y and derives a challenge c by hashing the commitment with the message. The signer computes a response and rejects attempts whose values could leak secret information. It retries with fresh masking randomness. [6]
The verifier recomputes the commitment using the public key and signature components (c, z, hint), checking the challenge hash and norm bounds. Signing is randomized or hedged by default and supports context strings. LatticeJam uses separate context labels to distinguish signing purposes. [6]
ML-DSA-65 is NIST category 3. Its public key is 1952 B, private key 4032 B and signature 3309 B. For comparison, Ed25519 uses a 32 B public key and 64 B signature. [6]
Encrypting, signing and proving possession
Encryption protects confidentiality. A signature binds a message to a signing key and lets someone with the public key verify it. Shor threatens classical public-key signatures by solving the underlying factoring or discrete-logarithm problem. ML-DSA relies on module-lattice problems. [36][6]
The independent ML-DSA-65 authentication key signs a proof of possession at registration and fresh server challenges at login. Validating a login proof lets the server create a session. The separate share-signing key self-signs the public bundle and signs a canonical share header with version, sender, recipient, recipient key fingerprint, encapsulation, ciphertext hash, timestamp and share ID. The recipient checks it against the pinned sender key.
Separate keys limit the consequences of exposing a key and keep their uses distinct. Separate context strings distinguish signing protocols. A valid signature establishes that the corresponding private key produced it under the signature assumptions. Trusting an identity also requires a trusted association between that identity and the public key.
A 3309-byte signature becomes 4412 base64url characters before adding a JWT header and claims. This can strain cookie and HTTP header limits, and repeated transmission costs bandwidth and memory. LatticeJam sends an ML-DSA login proof once per sign-in and then uses an opaque session cookie. [6]
A properly constructed hybrid combines classical and post-quantum key establishment so the shared secret can remain protected if either component remains secure. NIST IR 8547 accommodates hybrids. NSA does not require them for CNSA 2.0 and points to complexity, interoperability cost and a second transition. [11][4]
LatticeJam uses pure ML-KEM-768 and ML-DSA-65 at the application layer to show the post-quantum primitives directly. HPKE uses RFC 9180 base mode with HKDF-SHA512 and AES-256-GCM. The IANA HPKE registry assigns 0x0041 to ML-KEM-768. Transport at latticejam.dev can negotiate hybrid X25519MLKEM768 when clients offer it. Cloudflare Radar tracks post-quantum HTTPS requests on its own network. [31][42][32]
What a connection actually negotiates
A well-designed hybrid key-establishment combiner aims to preserve the joint secret if at least one component remains secure under its stated assumptions. Arbitrarily combining two algorithms does not have that property. Hybrid key establishment also leaves the authentication provided by the classical certificate chain and TLS signatures as a separate security dependency. [11][4]
Supported groups describe options peers can offer. The negotiated group is the single choice for a specific connection. A TLS 1.3 probe of latticejam.dev negotiated X25519MLKEM768 when it was offered. A separate connection offering only X25519 also succeeded with a classical RSA-PSS peer signature.
| Layer | LatticeJam approach |
|---|---|
| Transport key establishment | Hybrid X25519MLKEM768 when negotiated |
| Transport certificate authentication | Classical WebPKI |
| Application authentication | ML-DSA-65 challenge response |
| Application key establishment | ML-KEM-768 via HPKE |
| Application signatures | Independent ML-DSA-65 key |
| Payload encryption | AES-256-GCM |
WebAuthn uses a per-site key pair scoped to the relying party ID (RP ID). Assertions bind a signed challenge to the origin. Look-alike domains cannot obtain valid assertions for the real site. The relying party stores the public key, and the authenticator keeps biometric or PIN verification local. [29]
Today’s passkey signatures are typically classical ECDSA P-256. Platform dependency and recovery or sync complexity remain. Device malware and malicious code served from the real origin are outside the phishing protection. [29]
The pseudorandom function (PRF) extension returns a secret tied to the credential and a salt. LatticeJam derives a local AES-256-GCM wrapping key with HKDF-SHA-256 and keeps wrapped private keys in IndexedDB. The PRF output stays in the browser. The server verifies an ML-DSA-65 challenge response without verifying any passkey assertion. Local unlock benefits from the passkey’s origin binding and user verification. [29][30]
The real site can obtain a scoped assertion. LatticeJam uses its PRF result locally to unlock the vault.
From the passkey to a signed login
In conventional WebAuthn, the authenticator creates a credential key pair scoped to the RP ID. The server receives the public credential key. On login, user verification by PIN or biometrics occurs locally, the authenticator signs an assertion bound to the challenge and origin, and the server verifies the assertion and its bindings. [29]
In LatticeJam the browser first requests a fresh server challenge. It then uses a separate, browser-generated WebAuthn challenge to request PRF output for the stored credential ID with user verification required. The seven steps below start with that local PRF request. [29][30]
The PRF output is a separate secret from the passkey signing key and the ML-DSA private key. Breaking the classical signature algorithm alone would not disclose the PRF output. Biometrics, PRF output and the WebAuthn assertion stay local. The LatticeJam server authenticates the account with ML-DSA only. A synced passkey does not sync either IndexedDB key store. Classical passkey components, malicious same-origin JavaScript and device malware still matter. [29][30]
Registration rejects unsupported PRF. During login, only the auth key is unwrapped to sign. The AES-GCM keys are non-extractable, and different HKDF labels and authenticated data separate the three purposes. The app can unlock a vault separately when sharing or receiving and unwrap the particular app key it needs.
- 1 · Request · browser
- Request PRF with the stored credential ID, a fresh local WebAuthn challenge and the fixed input SHA-256("latticejam/prf-salt/v1").
- 2 · Receive · private
- After local user verification the authenticator returns a credential- and input-specific 32-byte PRF output to the browser.
- 3 · Derive · browser memory
- Use HKDF-SHA-256 to derive non-extractable AES-256-GCM wrapping keys, separately by purpose as needed.
- 4 · Unwrap · IndexedDB and browser memory
- Use the login wrapping key to unwrap only the ML-DSA-65 auth key for sign-in. The ML-DSA-65 share-signing and ML-KEM-768 encryption keys are wrapped separately and opened when needed.
- 5 · Sign · public proof transmitted
- Sign the server’s fresh login challenge with the ML-DSA-65 auth key. Send the challenge ID, username and signature. Public auth, signing and encryption keys were published separately during onboarding.
- 6 · Verify · server
- Verify the ML-DSA signature with the registered public key.
- 7 · Session · transmitted and stored
- Issue an opaque session cookie. The server retains a hash of the token and its expiry.
Cryptographic agility is the ability to replace algorithms without redesigning an entire system. Versioned envelopes and explicit algorithm identifiers help readers interpret data. A provider abstraction localizes changes. Key rotation, migration plans and downgrade resistance let deployments move deliberately and avoid silently falling back to weaker choices.
A cryptographic bill of materials (CBOM) helps locate dependencies. Capacity planning accounts for larger keys and signatures, CPU, memory and storage. Hybrid schemes can support a transition where protocol peers and hardware interoperate. [15][34][11]
SLH-DSA is a standardized hash-based signature. NIST selected the code-based HQC as a backup KEM to ML-KEM. Different mathematical foundations reduce dependence on any one hardness assumption. [7][12]
| Status | Mechanism | Scope |
|---|---|---|
| Implemented | Version 1 data formats | Share header and wire validation, wrapped auth keys and vault blobs. Readers reject unknown versions. |
| Implemented | Domain separation | Versioned login, share-header, bundle, bundle-keys and safety-number labels. ML-DSA contexts include latticeauth-login-v1, latticedrop-share-v1 and latticedrop-bundle-v1. |
| Implemented | Purpose-separated wrapping keys | Application wrapping uses latticeauth/app-kek/v1/<purpose>. |
| Implemented | App-bundle rotation | The /api/bundles/rotate route updates the published bundle and records a bundle_rotations event, visible at /app/breach. |
| Current suite | Implicit HPKE identifiers | Fixed ML-KEM-768, HKDF-SHA512 and AES-256-GCM, with ML-DSA-65 signatures. The share header has no negotiated algorithm identifier. |
| Future work | Algorithm migration | Explicit suite identifiers, interchangeable runtime providers, hybrid app-layer KEM, downgrade protection for suite negotiation, CBOM, capacity and interoperability planning, SLH-DSA and HQC. |
Three independent keypairs separate authentication, share signing and key establishment. The table connects each primitive to the corresponding app flow. [5][6][31]
- A · Registration
- Create three keypairs → wrap private keys locally → register public material.
- B · Authentication
- Get a challenge → unlock auth key → sign → establish a session.
- C · Image sharing
- Check recipient key → encapsulate → seal → sign → deliver.
- D · Image reception
- Check sender and signed fields → decapsulate → authenticate and open image locally.
| Primitive | Purpose | App flow |
|---|---|---|
| Passkey PRF → HKDF-SHA-256 → AES-256-GCM | Unlock private keys locally | |
| ML-DSA-65 authentication key | Sign a single-use challenge | |
| Opaque 256-bit session cookie | Keep the browser signed in | |
| ML-DSA-65 share-signing key | Sign the share header | |
| ML-KEM-768 encryption key | Establish a secret for the recipient | |
| HPKE · HKDF-SHA512 + AES-256-GCM | Derive encryption keys and protect the image | |
| SHA-256 and SHA-512 | Make fingerprints and derive safety numbers | |
| TLS 1.3 · X25519MLKEM768 | Protect the connection to latticejam.dev when the hybrid is negotiated |
| Responsibility | Conventional approach | LatticeJam |
|---|---|---|
| User authentication | Password or classical WebAuthn signature | ML-DSA-65 challenge response |
| Local user verification | Passkey biometrics or PIN | Passkey biometrics or PIN, required |
| Local key protection | Platform-dependent storage | PRF-derived AES wrapping keys |
| Session management | Opaque cookies or JWTs | Opaque 256-bit token in an HttpOnly cookie |
| Recipient key establishment | RSA or ECDH-based constructions | ML-KEM-768 |
| Sender signatures | ECDSA, RSA or EdDSA | Separate ML-DSA-65 key |
| Payload encryption | AES-GCM or similar | AES-256-GCM |
| Transport key establishment | Classical ECDHE | X25519MLKEM768 when negotiated |
| Transport authentication | Classical WebPKI certificates | Classical WebPKI certificates |
| Contact verification | Application-specific | Local pins and out-of-band safety-number comparison |
Stage A · Registration
| Responsibility | LatticeJam |
|---|---|
| Browser | Create or access a PRF-capable passkey. Generate independent login, share-signing and encryption keypairs for a new profile. Wrap all three private keys and prepare an account proof and signed public bundle. |
| Server | Verify proof of possession and register the auth public key. After the automatic sign-in, validate and publish the app bundle for the signed-in username. |
| Primitives | WebAuthn PRF, HKDF-SHA-256, AES-256-GCM, ML-DSA-65 and ML-KEM-768. |
| Transmitted | Registration sends username, publicKey (1952 B) and signature (3309 B). The bundle includes username, createdAt, signPk (1952 B), kemPk (1184 B), optional authPk (1952 B), and signature (3309 B). Sizes are before encoding. |
| Stored | IndexedDB keeps the wrapped private keys, credential ID and public material. Postgres holds the user/auth public key and signed public bundle. |
| Local secrets | PRF output, derived wrapping keys and unwrapped private keys. |
| Conventional mechanism replaced | Password enrollment or registration of a classical passkey as the server authentication credential. |
| Attacker addressed | A read-only database thief gets public keys instead of password material to crack. The registration signature requires possession of the submitted auth key. |
| Remaining risks | No recovery after site-data loss. Malicious JavaScript or device compromise can interfere with key generation or custody. A username alone is no proof of a real-world identity. |
Stage B · Authentication
| Responsibility | LatticeJam |
|---|---|
| Browser | Request a fresh server challenge, use the passkey PRF to unwrap the login key, and sign the challenge with the username, origin and RP ID bound into the message. The browser receives a session cookie. |
| Server | Check the Origin, issue a 60-second challenge, atomically consume the matching challenge and verify the proof with the registered public key. Issue an expiring session on success. |
| Primitives | WebAuthn PRF, HKDF-SHA-256 and AES-256-GCM for unlock, ML-DSA-65 for authentication, random 256-bit token and SHA-256 for session storage. |
| Transmitted | Request username. Response challengeId (32 hex characters), nonce (32 B before encoding) and expiresAt. The proof sends username, challengeId and signature (3309 B before encoding). The token crosses HTTPS in Set-Cookie and subsequent Cookie headers. |
| Stored | The wrapped auth key stays in IndexedDB. Postgres stores challenge records with their expiration and deletes them when consumed. It stores the session token hash with its expiration. The browser holds the opaque cookie. |
| Local secrets | PRF output, AES wrapping key and unwrapped authentication key. The session token is a bearer credential shared with the server over HTTPS. |
| Conventional mechanism replaced | Password verification or server-side classical WebAuthn assertion verification. The session itself still uses a cookie. |
| Attacker addressed | Single-use challenges limit replay. Origin binding, local passkey user verification and separate signing keys reduce phishing and key-reuse risks. |
| Remaining risks | A stolen live session remains usable until revoked or expired. Compromised browser code can act as the user, and TLS still relies on classical certificate authentication. |
Stage C · Image sharing
| Responsibility | LatticeJam |
|---|---|
| Browser | Verify the recipient’s self-signed bundle and consult the local contact pin. Re-encode the image, encapsulate to the recipient’s ML-KEM key, use HPKE to seal the CBOR image envelope, and sign the share header with the separate share-signing key. |
| Server | Return the recipient bundle. On upload, enforce the session and size cap, check the sender signature, recipient key fingerprint and ciphertext hash, and relay the stored encrypted payload. |
| Primitives | ML-KEM-768, HKDF-SHA512 and AES-256-GCM in HPKE base mode, ML-DSA-65 and SHA-256. |
| Transmitted | Public recipient bundle, then signed header and ciphertext. The header includes version, sender, recipient, recipientKemFingerprint (32 B), enc (1088 B), ciphertextHash (32 B), createdAt, shareId (16 B) and signature (3309 B), before encoding. |
| Stored | IndexedDB keeps the contact pin and wrapped signing key. Postgres stores the signed header, routing metadata, size and blob identifier. Disk stores the encrypted blob. |
| Local secrets | The image and its file details, sender private keys, KEM shared secret, and derived payload key remain in the sending browser at this stage. |
| Conventional mechanism replaced | RSA- or ECDH-based key establishment and classical signatures on an encrypted payload. |
| Attacker addressed | A read-only relay or database compromise exposes encrypted payloads and metadata. An established pin helps block changed recipient keys. The signature binds the payload hash to the header. |
| Remaining risks | First-contact substitution before comparing safety numbers, modified same-origin JavaScript, traffic metadata, and later recipient-key compromise. |
Stage D · Image reception
| Responsibility | LatticeJam |
|---|---|
| Browser | Check the sender bundle and pin, download the share and unlock the local encryption key. Before opening the payload, verify the signature against the pinned sender key, the recipient key fingerprint and the ciphertext hash. Decapsulate and authenticate the image locally. |
| Server | List inbox metadata and return the signed header and encrypted blob after checking the requester’s session and access to the share. |
| Primitives | ML-DSA-65 verification, SHA-256, ML-KEM-768 decapsulation, HKDF-SHA512 and AES-256-GCM. |
| Transmitted | Sender public bundle, inbox metadata, signed share header and ciphertext. The browser sends its session cookie with authenticated requests. |
| Stored | The server retains the ciphertext and metadata. IndexedDB keeps the sender pin and wrapped decryption key. The open image is rendered locally. |
| Local secrets | Recipient private key, derived shared secret and payload key, and the opened image. |
| Conventional mechanism replaced | Classical sender signatures and RSA- or ECDH-based recovery of the payload key. |
| Attacker addressed | An attacker who tampers with signed fields or ciphertext cannot make those edits pass verification under the pinned key. |
| Remaining risks | The server can withhold or delete a share. A compromised endpoint, a substituted first-contact key or a later compromise of the recipient’s private key can defeat the expected protection. |
LatticeJam is an unaudited educational demo. The local keys depend on PRF support and one browser profile. Clearing site data loses the keys, with no recovery. The share format has no forward secrecy against compromise of the long-term recipient key. The browser trusts the JavaScript served by the application. Routing metadata remains visible. [29][30]
Transport can negotiate hybrid key exchange with compatible clients. Classical WebPKI certificate authentication remains, and the application’s category 3 parameter choices differ from CNSA 2.0 requirements for NSS. [4][5][6]
Seven attacker capabilities
1. A passive network observer sees connection metadata. TLS protects request data in transit, and shares add an inner HPKE layer. [31]
2. Read-only server or database access can expose public bundles, ciphertext, routing metadata and session hashes. An archived copy remains sensitive if the recipient key leaks later.
3. An attacker able to change server records can disrupt access, interfere with account records, or substitute first-contact bundles. Existing client pins and signed headers detect some unauthorized changes.
4. Modified server-delivered JavaScript can bypass trust checks and read data when the browser processes it.
5. A compromised browser or device can access photos, act through live sessions, and capture keys at use time. At-rest wrapping helps against offline theft of a locked profile.
6. A compromised long-term recipient key exposes saved shares sealed to it. Application-layer forward secrecy is absent.
7. A malicious first-contact key can pass self-signature checks and be pinned. Out-of-band safety-number comparison is what ties a bundle to a contact you actually trust.
- NSM-10 (4 May 2022)https://bidenwhitehouse.archives.gov/briefing-room/statements-releases/2022/05/04/national-security-memorandum-on-promoting-united-states-leadership-in-quantum-computing-while-mitigating-risks-to-vulnerable-cryptographic-systems/
- OMB M-23-02, Migrating to Post-Quantum Cryptography (18 Nov 2022)https://www.whitehouse.gov/wp-content/uploads/2022/11/M-23-02-M-Memo-on-Migrating-to-Post-Quantum-Cryptography.pdf
- Quantum Computing Cybersecurity Preparedness Act, Public Law 117-260 (21 Dec 2022)https://www.govinfo.gov/app/details/PLAW-117publ260
- NSA, CNSA 2.0 and Quantum Computing FAQ (Ver. 2.2, Oct 2026)https://media.defense.gov/2022/Sep/07/2003071836/-1/-1/0/CSI_CNSA_2.0_FAQ_.PDF
- NIST FIPS 203 ML-KEMhttps://csrc.nist.gov/pubs/fips/203/final
- NIST FIPS 204 ML-DSAhttps://csrc.nist.gov/pubs/fips/204/final
- NIST FIPS 205 SLH-DSAhttps://csrc.nist.gov/pubs/fips/205/final
- NIST PQC standardization (FIPS published 13 Aug 2024; FIPS 206 in development)https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization
- NIST PQC FAQs (Grover/AES)https://csrc.nist.gov/projects/post-quantum-cryptography/faqs
- NIST IR 8547 (Final, Oct 2026)https://csrc.nist.gov/pubs/ir/8547/final
- NIST news, 27 Oct 2026https://www.nist.gov/news-events/news/2026/10/nist-report-provides-guidelines-transition-post-quantum-cryptography
- NIST selects HQC (11 Mar 2025)https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption
- EO 14306 (6 Jun 2025)https://www.whitehouse.gov/presidential-actions/2025/06/sustaining-select-efforts-to-strengthen-the-nations-cybersecurity-and-amending-executive-order-13694-and-executive-order-14144/
- CISA, PQC product categorieshttps://www.cisa.gov/resources-tools/resources/product-categories-technologies-use-post-quantum-cryptography-standards
- EO 14412, Securing the Nation Against Advanced Cryptographic Attacks (22 Jun 2026)https://www.whitehouse.gov/presidential-actions/2026/06/securing-the-nation-against-advanced-cryptographic-attacks/
- OMB M-26-15, Execution of the Migration to PQC (Jun 2026)https://www.whitehouse.gov/wp-content/uploads/2026/06/M-26-15-Execution-of-the-Migration-to-Post-Quantum-Cryptography.pdf
- Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits (arXiv:2505.15917)https://arxiv.org/abs/2505.15917
- Google Security Blog, Tracking the Cost of Quantum Factoringhttps://blog.google/security/tracking-cost-of-quantum-factori/
- Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations (arXiv:2603.28846, preprint)https://arxiv.org/abs/2603.28846
- Quantum Algorithm for Elliptic Curve Discrete Logarithms with Space-Efficient Point Addition (arXiv:2607.13816, preprint)https://arxiv.org/abs/2607.13816
- Quantum error correction below the surface code threshold, Nature (9 Dec 2024)https://www.nature.com/articles/s41586-024-08449-y
- AISLE, 20 OpenSSL zero-days in 6 months (vendor report)https://aisle.com/blog/aisle-discovers-20-openssl-zero-days-in-6-months
- Deep-learning side-channel analysis of embedded ML-KEM (PLOS One)https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0358974
- Ledger Donjon, Non-profiled deep-learning SCA on ML-KEMhttps://donjon.ledger.com/blog/non-profiled-deep-learning-sca-ml-kem/
- SALSA: Attacking Lattice Cryptography with Transformers (NeurIPS 2022)https://proceedings.neurips.cc/paper_files/paper/2022/hash/e28b3369186459f57c94a9ec9137fac9-Abstract.html
- Benchmarking Attacks on LWE (Meta AI)https://facebookresearch.github.io/LWE-benchmarking/benchmark
- Chen, Quantum Algorithms for Lattice Problems (ePrint 2024/555; bug noted 18 Apr 2024)https://eprint.iacr.org/2024/555
- Czybik et al., A Large-Scale Study of Personalized Phishing using LLMs (USENIX Security 2026)https://www.usenix.org/system/files/usenixsecurity26-czybik.pdf
- W3C WebAuthn Level 3 (Recommendation, 25 Aug 2026)https://www.w3.org/TR/webauthn-3/
- MDN, WebAuthn extensions (prf)https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API/WebAuthn_extensions
- RFC 9180, Hybrid Public Key Encryptionhttps://www.rfc-editor.org/rfc/rfc9180
- Cloudflare Radar, Post-Quantum Encryptionhttps://radar.cloudflare.com/post-quantum
- OpenAI and Anthropic, Joint statement on recent advances in cryptography (5 Dec 2026)https://openai.com/index/joint-statement-recent-advances-cryptography/
- NSA, Immediate transition guidance for National Security Systems (2 Dec 2026)https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/
- Grover, A fast quantum mechanical algorithm for database search (STOC 1996)https://arxiv.org/abs/quant-ph/9605043
- Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (SIAM 1997)https://arxiv.org/abs/quant-ph/9508027
- IBM Quantum Learning, Grover’s algorithmhttps://quantum.cloud.ibm.com/learning/en/courses/fundamentals-of-quantum-algorithms/grover-algorithm/introduction
- IBM Quantum Learning, Phase estimation and factoringhttps://quantum.cloud.ibm.com/learning/en/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/introduction
- Clay Mathematics Institute, Millennium Prize Problems update (4 Dec 2026)https://www.claymath.org/news/millennium-prize-problems-update/
- Clay Mathematics Institute, P vs NPhttps://www.claymath.org/millennium/p-vs-np/
- Anthropic formal-math, VP vs VNP research artifact and verification statushttps://github.com/anthropics/formal-math/blob/main/vp-vnp/README.md
- IANA, HPKE KEM identifiershttps://www.iana.org/assignments/hpke/hpke.xhtml
- IETF, ML-KEM for HPKE (draft-connolly-cfrg-hpke-mlkem-04)https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-hpke-mlkem-04
- IETF, Post-Quantum and Post-Quantum/Traditional Hybrid Algorithms for HPKE (draft-ietf-hpke-pq-05)https://datatracker.ietf.org/doc/html/draft-ietf-hpke-pq-05
- Anthropic formal-math, separate lattice researchhttps://github.com/anthropics/formal-math/tree/main/lattices
- Brassard, Høyer and Tapp, Quantum Algorithm for the Collision Problem (1997)https://arxiv.org/abs/quant-ph/9705002
Step through sign-in and sharing using illustrative protocol fields and byte sizes. For measurements from your account’s operations, open the Cryptography Inspector.
Registration and local vault setup
The browser requests a challenge for username. The server issues a fresh nonce and challenge ID with a short expiry.
- challengeId
- 32 hex characters (16 B before encoding) Illustrative
- nonce
- 32 B before encoding Illustrative
- expiresAt
- Timestamp 60 seconds after issuance Illustrative
LatticeAuth is a reusable post-quantum authentication library. It uses a passkey to unlock an ML-DSA-65 key locally and proves control of the registered key by signing a fresh server challenge.