Note
LWE (Learning With Errors)
A fundamental lattice-based cryptographic problem that forms the basis of many post-quantum secure encryption schemes.
By Roman Akhtariev•
Learning With Errors (LWE) is a computational problem that serves as the foundation for many modern cryptographic constructions, particularly those designed to be secure against quantum computers.
Definition
An LWE ciphertext is a pair where:
- is a scalar
- is a vector of elements
The phase (decryption result) is computed as:
where is the secret key vector and denotes the inner product.
Security
The LWE problem asks: given many samples where for small errors , recover the secret .
This problem is believed to be hard even for quantum computers, making LWE a cornerstone of post-quantum cryptography.
Key Properties
- Worst-case to average-case reduction: LWE's hardness can be reduced to worst-case hardness of certain lattice problems
- Homomorphic: LWE ciphertexts support additive homomorphism naturally
- Noise growth: Operations increase noise; too much noise prevents correct decryption
Related Concepts
- RLWE - Ring variant with polynomial structure for efficiency
- Gadget Decomposition - Technique to control noise growth