The integer factoring experiment and assumption #
The modulus-only integer factoring experiment modulusFactoringGame and hardness assumption
ModulusFactoringHard ([KL20], Section 9.2.3, Definition 9.45), parameterized by an
arbitrary modulus distribution modGen : ℕ → PMF ℕ.
Also provides the shared challenge-input encoding encModulusChallengeInput ((1^n, (N, y))) used
by modulus-parameterized assumptions (QuadraticResiduosityHard, DCR, RabinOneWay) and their
reductions to integer factoring, together with the semiprime unique-factorization lemma
mul_eq_mul_primes_cases.
Main definitions #
Cslib.Crypto.encModulusChallengeInput: canonical encoding(1^n, (N, y))of a unary security parametern, binary modulusN, and binary challenge elementy.Cslib.Crypto.modulusFactoringGame,Cslib.Crypto.ModulusFactoringHard: the integer factoring experiment and assumption for a modulus distribution familymodGen : ℕ → PMF ℕ.
Main results #
Cslib.Crypto.ModulusFactoringHard.congr: transfersModulusFactoringHardalong pointwise equality of modulus distributions.Cslib.Crypto.mul_eq_mul_primes_cases: every nontrivial factorizationa * b = p * qof a product of two primespandqpermutes(p, q).
References #
- J. Katz, Y. Lindell, Introduction to Modern Cryptography, Section 9.2.3, Definition 9.45 (The Factoring Assumption). This is the source of the definitions.
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, context only: the book states no factoring experiment or assumption. Section 16.4, p. 696 (Analyzing the factoring and RSA assumptions), and the remark in Section 10.3, p. 404, that RSA can be one-way only if factoring is hard.
The modulus-only integer factoring experiment ([KL20], Section 9.2.3,
Definition 9.45): sample N ← modGen n, run A n N, and accept when A returns a nontrivial
factorization 1 < a, 1 < b, a * b = N.
The integer factoring assumption for a modulus distribution family modGen : ℕ → PMF ℕ
([KL20], Section 9.2.3, Definition 9.45): every uniform PPT factoring algorithm succeeds
with negligible probability. In place of the source's GenModulus, modGen is any law on ℕ,
which need not be efficiently samplable or supported on products of two primes.
Transfer ModulusFactoringHard along pointwise equality of modulus distributions.