---
title: "Lattice-Based Cryptography — definition | Nuri Glossary"
description: "Post-quantum schemes built on hard lattice problems, the leading family for future-proof signatures."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/lattice-based-cryptography"
---

# Lattice-Based Cryptography

Post-quantum schemes built on hard lattice problems, the leading family for future-proof signatures.

## Basically

Lattice-based cryptography uses mathematical problems that quantum computers are not known to solve quickly. It could protect encryption and digital signatures from quantum attacks.

## Key Takeaways

- Lattice-based cryptography builds encryption and digital signatures on mathematical problems that remain hard even for quantum computers. Bitcoin today uses elliptic curve cryptography, which does not offer the same protection.
- NIST standardised two lattice-based algorithms in August 2024: ML-KEM, formerly Kyber, for key encapsulation and ML-DSA, formerly Dilithium, for digital signatures. They are now published as FIPS 203 and FIPS 204.
- Keys and signatures are 10 to 50 times larger than classical equivalents, but computational performance is often faster. ML-KEM key exchange runs roughly 64 times faster than ECDH P-384.

## What Is Lattice-Based Cryptography?

Lattice-based cryptography is a family of cryptographic constructions whose security relies on the difficulty of solving problems in high-dimensional mathematical lattices. A lattice is the set of all integer combinations of a set of basis vectors in n-dimensional space. In two or three dimensions, it looks like a regular grid of points, but finding short vectors or close points becomes computationally intractable in the hundreds or thousands of dimensions used in cryptography.
Lattice problems have no known efficient quantum solution. Shor's algorithm breaks RSA and elliptic curve cryptography by exploiting the periodic algebraic structure of factoring and discrete logarithms, but lattice problems lack this structure entirely. That makes them natural candidates for post-quantum security.
Bitcoin's ECDSA and Schnorr signatures both rely on the secp256k1 elliptic curve, which a sufficiently powerful quantum computer could break. Lattice-based cryptography offers a path to quantum-resistant replacements for these signature schemes.

## How It Works

Lattice-based cryptography relies on two core computational problems. Both are believed to be hard for classical and quantum computers alike.

## Learning With Errors (LWE)

Oded Regev introduced the Learning With Errors problem in 2005. It is the foundation for most lattice-based encryption and key exchange schemes: given a system of linear equations with small random errors added, you must recover the secret values.
The formal version gives you a random matrix A and a vector b. The vector b incorporates a secret vector s and an error term e.
The secret s is trivial to recover through linear algebra without the error term e. Adding the error makes the problem computationally intractable in high dimensions. Regev proved that solving average-case LWE is at least as hard as solving worst-case instances of the Shortest Vector Problem (SVP) in lattices, a problem believed to be NP-hard.

## Short Integer Solution (SIS)

Ajtai introduced SIS in 1996 as the foundation for lattice-based digital signatures and collision-resistant hash functions. SIS gives you a random matrix A and asks you to find a short non-zero vector x that satisfies its required equation.
Solutions always exist because the matrix has more columns than rows. Finding a sufficiently short solution is computationally hard in high dimensions.

## Module Variants for Efficiency

Raw LWE and SIS require large matrices, producing impractically large keys. The NIST-standard algorithms use structured variants called Module-LWE and Module-SIS, which operate over polynomial rings rather than plain integers. These variants reduce key sizes from megabytes to kilobytes while preserving security guarantees. Working over the ring Z_q[x]/(x^n + 1) allows each matrix entry to encode a full polynomial, compressing the mathematical structure dramatically.

## NIST-Standardized Algorithms

NIST published three post-quantum cryptographic standards on August 13, 2024. Two of the three are lattice-based.

## ML-KEM: Key Encapsulation (FIPS 203)

ML-KEM (Module-Lattice-Based Key Encapsulation Mechanism), originally known as CRYSTALS-Kyber, provides quantum-resistant key exchange. It replaces classical key exchange protocols like ECDH that rely on elliptic curve discrete logarithms.
An ECDH P-256 public key is only 64 bytes. ML-KEM keys are roughly 18 times larger, but key exchange operations run approximately 64 times faster than ECDH P-384.

## ML-DSA: Digital Signatures (FIPS 204)

ML-DSA (Module-Lattice-Based Digital Signature Algorithm), originally CRYSTALS-Dilithium, provides quantum-resistant digital signatures. It is the direct replacement for ECDSA and Schnorr signatures.
An ECDSA signature over secp256k1 is roughly 72 bytes, while a Schnorr signature is 64 bytes. ML-DSA-44 signatures are 2,420 bytes, about 38 times larger. However, ML-DSA signing operations typically run faster than RSA and are competitive with ECC.

## Additional Standards in Progress

NIST is finalising FIPS 206 for FN-DSA, formerly FALCON, another lattice-based signature scheme that uses NTRU lattices. FN-DSA produces more compact signatures of approximately 666 bytes at 128-bit security, but requires careful constant-time implementation of floating-point arithmetic. The standard is expected to be finalised in late 2026 or early 2027.

## TLS and Secure Communications

Web browsers represent the largest deployment of lattice-based cryptography today. Google Chrome enabled hybrid X25519+ML-KEM-768 key exchange by default for TLS 1.3 starting with Chrome 131 in November 2024. Apple deployed Kyber in iMessage PQ3 (iOS 17.4, February 2024), and Signal upgraded to its PQXDH protocol using Kyber in September 2023. These deployments protect against "harvest now, decrypt later" attacks, where adversaries record encrypted traffic today for future decryption by quantum computers.

## Cryptocurrency and Blockchain

Bitcoin's security model depends on elliptic curve signatures that are vulnerable to Shor's algorithm. Approximately 6 million BTC have exposed public keys on-chain through P2PK addresses, reused P2PKH addresses, and Taproot key-path spends. Lattice-based signatures are a leading candidate for post-quantum Bitcoin transaction signing. BIP-360 (Pay-to-Merkle-Root), merged into the Bitcoin repository in February 2026, represents the first concrete step towards quantum-resistant address formats. You can read the post-quantum cryptography threat assessment for a deeper analysis.

## Layer 2 Protocols

Layer 2 solutions can adopt post-quantum cryptography more quickly than the base layer because they do not require Bitcoin consensus changes. Off-chain signature schemes, key exchange for channel establishment, and threshold signing protocols can all transition to lattice-based constructions independently. The Hermine lattice-based threshold signature scheme, finalised in March 2026, demonstrates this path for protocols like Spark.

## Government and Enterprise

A U.S. Executive Order issued in June 2026 directs all federal agencies to transition to NIST-approved post-quantum cryptography. High-value assets must use PQC for key establishment by December 31, 2030, and for digital signatures by December 31, 2031. The NSA's CNSA 2.0 suite mandates ML-KEM-1024 and ML-DSA-87 for national security systems, with full compliance required by 2035.

## Larger Keys and Signatures

Size is the most immediate tradeoff. Lattice-based public keys and signatures are an order of magnitude larger than their classical equivalents, which is especially significant for Bitcoin because block space is scarce. A standard 1-input, 2-output Schnorr transaction weighs roughly 560 weight units and allows approximately 7,000 transactions per block. Replacing Schnorr with ML-DSA-44 would roughly quadruple transaction weight, cutting per-block capacity to under 2,000 transactions.

## Relative Immaturity

RSA and ECC have been studied extensively for decades. Lattice-based schemes are grounded in problems studied since the 1990s, but have been deployed at scale only since 2023. The structured variants used in practice, Ring-LWE and Module-LWE, have a shorter cryptanalytic history than the underlying unstructured problems. A breakthrough in lattice reduction algorithms, while considered unlikely, would have broad implications.

## Implementation Complexity

Correct implementation of lattice-based schemes requires careful attention to constant-time arithmetic, noise sampling, and error handling. FN-DSA (Falcon) in particular requires floating-point operations that are difficult to implement in constant time across different hardware platforms. Side-channel attacks targeting error distributions remain an active area of research.

## Hybrid Deployment Period

Industry consensus during the transition favours hybrid schemes that combine classical and post-quantum algorithms. Chrome uses X25519+ML-KEM-768, meaning both classical ECDH and lattice-based key exchange must be broken to compromise the session. Hybrid schemes double handshake sizes and add complexity, but protect against the possibility that either algorithm has undiscovered weaknesses.

## Impact on Bitcoin's UTXO Model

Larger public keys and signatures inflate the UTXO set and increase on-chain storage requirements. Fee market dynamics would shift as users pay more per transaction due to increased weight. Techniques like signature aggregation and off-chain verification through Layer 2 protocols offer partial mitigation, but the base-layer impact remains substantial.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
