Cryptographic Assumptions in Hidden-Order Groups
In this post, we summarize some of the cryptographic hardness assumptions used in hidden-order groups.
Terminology and notation
We try to describe these assumptions in terms of a generic hidden-order group of order . We denote the identity element in such a group by .
Sometimes, we specifically refer to the RSA group . Specifically, let be the product of two sufficiently-large prime integers . Then, is the multiplicative group of integers co-prime with . Recall that the size or order of this group is given by the totient function: .
Other times we might also refer to the class group of imaginary quadratic orders introduced by Buchmann and Williams [^BW88].
When we say “Assumption implies assumption ” this means that “for to hold, must hold”. Or, put differently, this means that “ can be broken given an algorithm that breaks ”. For example, to say that “the Strong RSA assumption implies the order assumption (OA)” is the same thing as saying “the Strong RSA problem reduces to the order problem”, which is the same thing as saying “given an algorithm for solving the order problem, one can solve the Strong RSA problem.”
All of our probability clauses below would more formally be stated as “for all polynomial probabilistic time (PPT) adversaries , there exists a negligible function such that .
Assumptions
Factoring
Discrete logarithm
Bach[^Bach84] shows that factoring reduces to computing discrete logs in .
The RSA assumption (RSA)
Introduced by Rivest, Shamir and Adleman in their seminal 1978 paper on public-key cryptosystems [^RSA78].
When , we cannot have because it would not be co-prime with and would not be a permutation. But if the subgroup of quadratic residues is used, then can be used (see here). So it is best not to restrict the definition above.
Strong RSA assumption
This assumption says that, given a random , it is hard to find any root of it: i.e., an integer in and a group element such that . Note that this generalizes the RSA assumption, which gives the adversary not only , but also the root that should be computed.
Strong RSA assumption implies RSA assumption: If RSA assumption doesn’t hold then Strong RSA doesn’t either. To see this, consider a Strong RSA adversary that gets a random as input. Since RSA doesn’t hold, there exists an RSA adversary that given such a random and random with , outputs such that . Note that can use to break Strong RSA! Specifically, simply picks a random which, with overwhelming probability is co-prime with (or else can factor ). Next, calls with and , obtaining such that with non-negligible probability. Finally, simply outputs , breaking Strong RSA with non-negligible probability.
The order assumption (OA)
This assumption says that, given a random , it is hard to find any multiple of its order: i.e., an integer such that This is known as the order problem.
The earliest reference I could find to the order problem is in a paper by Gary L. Miller[^Mill76], which shows it to be equivalent to factoring (under the Extended Riemann Hypothesis).
Biehl et al. highlight that “The order problem can only be difficult if the order of random elements in G is large with a very high probability.”[^BBHM02]
DL assumption implies OA: Biehl et al.[^BBHM02] also give a reduction from the order problem to the discrete logarithm (DL) problem. Specifically, given an order problem instance , if one can compute the DL of relative to such that , then this gives a solution to the order problem as .
Strong RSA assumption implies OA: This is shown by Boneh et al.[^BBF18] in Lemma 3. Suppose there is a generic adversary who, given a (random) order problem , solves it by outputting an such that . Then, there exists an adversary that uses to solve a random Strong RSA problem . Specifically, uses to break the order problem and find the mentioned above. Then, picks an odd prime that does not divide and outputs as the Strong RSA solution. Note that is notation for the multiplicative inverse of modulo (i.e., ). This inverse exists since (because is prime and does not divide ). The Extended Euclidean Algorithm (EEA) can be used to obtain the inverse by finding such that:
Also, note that and so is a solution to the Strong RSA problem :
RSA assumption implies OA: Bieh et al.[^BBHM02] give a reduction from the RSA problem to the order problem [^reduction]. Specifically, given an RSA instance such that does not divide , if one can compute a multiple of the order of such that , then one can break the RSA instance as follows. We have two cases.
- First case: If does not divide , then we can break the assumption just like we broke Strong RSA above: output .
- Second case: If divides , then we can let . Importantly, since does not divide the order of , then is still a multiple of the order of [^ellprime]. Thus, we can output as before.
OA implies factoring assumption: We have to show that order problem reduces to factoring. Well, if you have a factoring oracle, you can factor , compute and then factor as well. Next, given an order problem , you know that . If only multiples of the order are desired, then the problem is solved. Otherwise, if the actual order is required, then we know the order has to be a divisor of , the order of . Thus, one can repeatedly divide out the divisors of from the exponent and check if the result is still . For details, see this post or see Algorithm 4.79 in Chapter 4 of the Handbook of Applied Cryptography [^MvV96Ch4Pubkey].
Factoring assumption implies OA: Miller[^Mill76] shows that one can factor if one can compute the order of random group elements in (see Theorem 4). Shor[^Shor97] explains this reduction succinctly (see Section 5).
OA in class groups: Hamdy and Moller[^HM00] explain how to solve the order problem in class groups whose class number is smooth.
Adaptive root assumption (ARA)
This assumption was introduced by Wesolowski [^Weso19], who initially called it the “root finding game”.
The low-order assumption (LOA)
This assumption was first formalized by Boneh et al [^BBF18A] in order to prove the security of Pietrzak [^Piet18e]’s verifiable delay function (VDF) in any hidden order group. (In contrast, Pietrzak proved his VDF secure in the subgroup of quadratic residues modulo a composite where this assumption holds unconditionally.) Informally, the assumptions says that the low-order problem is “hard” to solve: i.e., given a group of hidden-order, it is hard to find and such that .
Distinction: LOA differs from the order assumption (OA) since the LOA adversary gets to choose both and such that . In contrast, in OA, the adversary was given a random and needed to find an .
Adaptive root assumption implies LOA: Boneh et al.[^BBF18A] show that LOA holds in generic groups[^DK02], because breaking it implies breaking the adaptive root assumption, which holds generically (see Section 4).
Seres and Burcsi[^SB20] explain that LOA is stronger than factoring arbitrary because in all elements are of high order, so factoring will not help. However, for particular kinds of , they show that factoring reduces to LOA.
Other notes
Hohenberger[^Hoh03] introduces the notion of a pseudo-free group and Rivest[^Rive04] shows that if is pseudo-free, then satisfies Strong RSA and DL.
Rabin[^Rabi79] shows that solving polynomial congruences is as hard as factoring (see Section 5). He also shows that an algorithm, which given , computes quadratic residues such that can be used to factor (see Theorem 1).
Shor[^Shor97] shows that finding the order of a random element in (i.e., ) can be done using a quantum computer in polynomial time. (Shor specifically requires to be the order: i.e., the smallest such integer.) Then, Shor uses a reduction by Miller[^Mill76] to factor , given the quantum oracle for solving the order problem. Stephanie Blanda gives an intuitive explanation.
Theorem: For all , , such that iff. (see here).
Acknowledgements
Big thanks to Munshi Rejwan Ala Muid for pointing out a typo in the “Strong RSA assumption implies OA” subsection.
[^BW88]: A Key-Exchange System Based on Imaginary Quadratic Fields, by Johannes Buchmann and Hugh C. Williams, in Journal of Cryptology, 1988 [^Bach84]: Discrete logarithms and factoring, by Eric Bach, 1984, [URL] [^RSA78]: A method for obtaining digital signatures and public-key cryptosystems, by R. L. Rivest and A. Shamir and L. Adleman, in Communications of the {ACM}, 1978, [URL] [^Mill76]: Riemann’s hypothesis and tests for primality, by Gary L. Miller, in Journal of Computer and System Sciences, 1976, [URL] [^BBHM02]: A Signature Scheme Based on the Intractability of Computing Roots, by Biehl, Ingrid and Buchmann, Johannes and Hamdy, Safuat and Meyer, Andreas, in Designs, Codes and Cryptography, 2002, [URL] [^BBF18]: Batching Techniques for Accumulators with Applications to IOPs and Stateless Blockchains, by Dan Boneh and Benedikt Bünz and Ben Fisch, in Cryptology ePrint Archive, Report 2018/1188, 2018, [URL] [^reduction]: A reduction from the RSA problem to the order problem is an algorithm that solves the RSA problem given an oracle for solving the order problem. [^ellprime]: One way to see why is to note that and, since does not divide and is prime, it follows that = 1. Thus, can be inverted. Raising to the inverse gives . [^MvV96Ch4Pubkey]: Public-Key Parameters, by Menezes, Alfred J and van Oorschot, Paul C and Vanstone, Scott A, in Handbook of Applied Cryptography, 1996, [URL] [^Shor97]: Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, by Shor, Peter W., in SIAM Journal on Computing, 1997, [URL] [^HM00]: Security of Cryptosystems Based on Class Groups of Imaginary Quadratic Orders, by Hamdy, Safuat and M"oller, Bodo, in Advances in Cryptology — ASIACRYPT 2000, 2000 [^Weso19]: Efficient Verifiable Delay Functions, by Wesolowski, Benjamin, in Advances in Cryptology – EUROCRYPT 2019, 2019 [^BBF18A]: A Survey of Two Verifiable Delay Functions, by Dan Boneh and Benedikt Bünz and Ben Fisch, in Cryptology ePrint Archive, Report 2018/712, 2018, [URL] [^Piet18e]: Simple Verifiable Delay Functions, by Krzysztof Pietrzak, in Cryptology ePrint Archive, Report 2018/627, 2018, [URL] [^DK02]: Generic Lower Bounds for Root Extraction and Signature Schemes in General Groups, by Damg\aard, Ivan and Koprowski, Maciej, in Advances in Cryptology — EUROCRYPT 2002, 2002 [^SB20]: A Note on Low Order Assumptions in RSA groups, by István András Seres and Péter Burcsi, in Cryptology ePrint Archive, Report 2020/402, 2020, [URL] [^Hoh03]: The Cryptographic Impact of Groups with Infeasible Inversion, by Susan Rae Hohenberger, Master’s Thesis, MIT, 2003 [^Rive04]: On the Notion of Pseudo-Free Groups, by Rivest, Ronald L., in Theory of Cryptography, 2004 [^Rabi79]: Digitalized Signatures and Public-key Functions as Intractable as Factorization, by Rabin, M. O., 1979