Learning With Errors Key Encapsulation Mechanism. Conservative lattice-based post-quantum cryptography using unstructured lattices and standard LWE assumption. Educational implementation of NIST PQC finalist.
| Property | Value |
|---|---|
| Category | Asymmetric Ciphers |
| Sub-category | LWE-Based Post-Quantum KEM |
| Security status | π Educational Only |
| Complexity | Expert |
| Inventor | Joppe Bos, Craig Costello, LΓ©o Ducas, Ilya Mironov, Michael Naehrig, Valeria Nikolaenko, Ananth Raghunathan, Douglas Stebila |
| Year | 2016 |
| Origin | π International |
| Source | algorithms/asymmetric/frodokem.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 640 bytes (5120 bits); 976 bytes (7808 bits); 1344 bytes (10752 bits) |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Lattice Reduction | Vulnerable to lattice reduction attacks if LWE parameters are insufficient. Use conservative parameters with sufficient noise and dimension. | β |
| Timing Attacks | Variable-time operations can leak information about secret keys. Implement constant-time operations and protect against side-channels. | β |
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β FrodoKEM-640 round-trip under the parameter set named 640
| Field | Value |
|---|---|
key |
363430 |
input |
01020304050607080910111213141516 |
expected |
01020304050607080910111213141516 |
Vector 2 β FrodoKEM-976 round-trip under the parameter set named 976
| Field | Value |
|---|---|
key |
393736 |
input |
deadbeefcafebabe0123456789abcdef |
expected |
deadbeefcafebabe0123456789abcdef |
Vector 3 β FrodoKEM-1344 round-trip under the parameter set named 1344
| Field | Value |
|---|---|
key |
31333434 |
input |
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |
expected |
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |