The QNFO familyQNFOQWAVq08PapersAsk
QNFO Papers

Quick read · plain language

Hiding the Secret Number in a Hard Math Problem

A plain-language version of “HM-LWE v3.0”

3 min readNo jargon, no mathematicsNumbers & p-adics

The short version

This paper creates a new type of math problem for protecting secrets. The trick is hiding the number that defines the problem itself. The authors built a working system, proved it is secure, and showed it is too slow for real use today.

Why hide the number?

Most modern secret-keeping systems use a public number that everyone knows. An attacker knows exactly which math puzzle to solve. This paper asks: what if that number is secret too? Then the attacker must find both the secret number and the secret message at the same time. This idea comes from an older problem called approximate GCD, where one hidden number protects many secrets. The new problem uses lists of numbers instead of single numbers, making it much harder to break.

What the new problem looks like

The hidden-modulus problem gives the attacker pairs of numbers. Each pair comes from a secret list multiplied by a secret number, then wrapped around using a secret prime, with extra noise added. The noise is special: it is tiny in one way of measuring, but huge in another. This mismatch stops known attacks. If the prime is known, the problem becomes easy linear algebra. If the prime is hidden, no fast attack is known. The authors count how many secret primes exist at a given size: about two hundred forty-eight bits worth for common settings. This means guessing the prime is impossibly hard.

Fixing a leak in earlier work

Earlier versions let the sampling range for public numbers grow with the secret prime. An attacker could then estimate the prime from the largest public number seen. The fix is simple: use a fixed range set before the prime is chosen. Now the public numbers reveal nothing about the secret prime.

Building a secret-sharing system

The authors build a key encapsulation mechanism called N-SRE-LWE. Two parties share the secret prime ahead of time. One party picks a random secret list and sends encrypted samples. The other party uses the secret prime to strip away noise and solve for the secret list. A standard hash function turns the list into a key for fast symmetric encryption. The system was tested with five hundred random messages and worked every time at small sizes.

Speed and size

At planned settings, the system needs about twenty-five thousand bytes per message and about half a second to decrypt. This is roughly ten thousand times slower than a standard system called Kyber. The authors state plainly that their system is not competitive for real use. Its value lies in using a different hard problem than existing systems.

What remains unknown

The paper leaves several questions open. No proof links the new problem to a worst-case hard problem, unlike standard lattice problems. The system needs a pre-shared secret prime; making this public-key is a major open goal. Outside experts have not yet tried to break the system. The authors invite such analysis. More efficient ways to use the special noise structure might shrink messages. Whether this approach can ever yield practical systems remains unanswered.

Words used here

key encapsulation mechanism
a way for two parties to agree on a secret key using public messages
lattice
a regular grid of points in many dimensions, used as the basis for many hard math problems
prime
a whole number greater than one that cannot be divided evenly by any smaller whole number except one
p-adic
a way of measuring how divisible numbers are by a chosen prime, very different from ordinary distance

Learn more in plain language

This plain-language version was written by an AI model from the text of the paper and checked against plain-language rules: everyday words, no mathematics, no unexplained names. It leaves details out and can still be wrong; the paper is the source of record. To report a problem, open the paper, select the passage and choose Report.

For specialists: the technical digest, quoted from the paper

In the paper's words

We introduce Hidden-Modulus Learning With Errors (HM-LWE), a cryptographic hardness assumption that generalizes standard LWE by making the modulus an additional secret rather than a public parameter. In HM-LWE, samples have the form (a_i, b_i = ⟨ a_i, s ⟩ bmod p + e_i) where a_i are integer vectors, s ∈ Z_p^n is a secret, p is a secret prime, and e_i are p-adically structured errors (multiples of p^t). We prove that when the modulus is known, HM-LWE reduces to standard (noise-free) linear algebra over Z_p, placing it in the same computational class as lattice problems.

The abstract, verbatim, and its opening sentence is the claim. Every line below is quoted from the text.

Numbers it reports

  1. The hidden-modulus advantage is a multiplicative factor of approximately $2^{248}$ — equivalent to adding approximately 248 bits of effective key entropy. [my conjecture] Alternative strategy (direct lattice without $p$): Without $p$, the adversary faces a simultaneous Diophantine approximation problem: given $b_i = \langle a_i, s \rangle - q_i \cdot p + e_i$ where $q_i = \lfloor \langle a_i, s \rangle / p \rfloor$ are unknown integers, find $s$ and $p$ such that all residuals are small.

    from 4.2. Hidden-Modulus Advantage: Multiplicative Factor
  2. Metric N-SRE-128 (n=512) Kyber-1024 Factor Decapsulate (C, est.) ~530 ms 0.03 ms 17,700× Encapsulate (C, est.) ~250 ms 0.03 ms 8,300× KeyGen <1 ms 0.025 ms ~40× Ciphertext ~25 KB 1.6 KB 16× Security assumption HM-LWE (novel) MLWE (standardized) — Decapsulation dominates at $O(n^3)$ due to Gaussian elimination over $\mathbb{Z}_p$.

    from 6.2. Efficiency Characterization
  3. Efficiency is honestly characterized: the scheme is approximately four orders of magnitude slower than Kyber-1024 and has 16× larger ciphertexts.

    from 8.1. Summary
  4. We present N-SRE-LWE, a key encapsulation mechanism built on HM-LWE, prove its IND-CPA security via a KEM+DEM hybrid argument, and provide a reference implementation with experimental verification at toy scale (100% correctness across 500 random messages).

    from Abstract
  5. At deployment parameters ($n = 512$, 256-bit $p$), N-SRE-LWE requires approximately 25 KB ciphertexts and decapsulation times on the order of 500 ms in optimized C — approximately four orders of magnitude slower than Kyber-1024.

    from Abstract
  6. Ciphertext sizes of approximately 25 KB for N-SRE-128 with seed-generated $A$.

    from 1.3. Contributions

How it is done

  1. We prove that when the modulus is known, HM-LWE reduces to standard (noise-free) linear algebra over $\mathbb{Z}_p$, placing it in the same computational class as lattice problems.

    from Abstract
  2. Security analysis: Proof that known-$p$ HM-LWE reduces to linear algebra over $\mathbb{Z}_p$ (Observation 1); construction and analysis of the Kannan embedding lattice attack; quantification of the hidden-modulus advantage as a multiplicative $\pi(p_{\max})$ factor; identification and resolution of the $a_i$-range leakage.

    from 1.3. Contributions
  3. Section 5 presents the N-SRE-LWE construction and IND-CPA proof.

    from 1.4. Structure
  4. Observation 1 provides an UPPER BOUND on HM-LWE complexity: HM-LWE is not harder than linear algebra over $\mathbb{Z}_p$ when $p$ is known.

    from 3.2. Relationship to Standard LWE

What would falsify it

  1. If the adversary knows $p$, then HM-LWE reduces to solving a linear system over $\mathbb{Z}_p$ (noiseless).

    from 3.2. Relationship to Standard LWE

Where the claim stops

  1. We introduce Hidden-Modulus Learning With Errors (HM-LWE), a cryptographic hardness assumption that generalizes standard LWE by making the modulus an additional secret rather than a public parameter.

    from Abstract
  2. We quantify the hidden-modulus advantage as a multiplicative factor of $\pi(p_{\max}) \approx 2^{248}$ for 256-bit primes — the adversary must enumerate candidates for $p$ before lattice reduction can be applied, because the correct lattice embedding (Kannan) cannot be constructed without knowing the modulus.

    from Abstract
  3. At deployment parameters ($n = 512$, 256-bit $p$), N-SRE-LWE requires approximately 25 KB ciphertexts and decapsulation times on the order of 500 ms in optimized C — approximately four orders of magnitude slower than Kyber-1024.

    from Abstract

Where to read

  1. Abstract319 words · 1 min
  2. 1. Introduction711 words · 3 min
  3. 2. Preliminaries380 words · 2 min
  4. 3. The Hidden-Modulus LWE Problem283 words · 1 min
  5. 4. Security Analysis688 words · 3 min
  6. 5. N-SRE-LWE: Key Encapsulation Mechanism584 words · 3 min
  7. 6. Parameter Selection and Performance292 words · 1 min
  8. 7. Experimental Verification190 words · 1 min
  9. 8. Conclusion and Open Problems368 words · 2 min
  10. Declarations54 words · 1 min
  11. Appendix A: Deprecated Per-Digit Noise Variant185 words · 1 min

Read from the paper itself: 36 sections, 4,284 words. Nothing in this digest is written by a model; a line that is not a sentence of the paper is not shown. Have a specific question? Ask this paper.

The full text · Ask the whole corpus