Next Article in Journal
Combining Data Envelopment Analysis and Machine Learning
Next Article in Special Issue
The Case of Small Prime Numbers Versus the Joye–Libert Cryptosystem
Previous Article in Journal
A Galerkin/POD Reduced-Order Model from Eigenfunctions of Non-Converged Time Evolution Solutions in a Convection Problem
Previous Article in Special Issue
Lightweight Secure Integer Comparison
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Generation of Roots of Power Residues Modulo Powers of Two

by
Ferucio Laurenţiu Ţiplea
Department of Computer Science, “Alexandru Ioan Cuza” University of Iaşi, 700506 Iaşi, Romania
Mathematics 2022, 10(6), 908; https://doi.org/10.3390/math10060908
Submission received: 30 January 2022 / Revised: 6 March 2022 / Accepted: 9 March 2022 / Published: 11 March 2022

Abstract

:
We propose a characterization for the roots of power residues modulo powers of two. By this characterization, the remainder of dividing a root by a power of two is uniformly distributed in a set with two odd integers, while the quotient is uniformly distributed in an initial segment of positive integers. This property allows us to generate roots of power residues modulo powers of two efficiently.
MSC:
11A07; 11A15; 11Y16

1. Introduction and Preliminaries

Recent years have shown a significant interest in studying algorithmic problems related to higher-order residuosity. That is because higher-order residuosity may help design cryptographic systems at the binary stream level, while quadratic residuosity is usually limited to bit-by-bit data processing [1,2,3,4,5,6,7,8,9,10,11]. Unfortunately, the use of higher-order residuosity in cryptography faces several challenging problems related to the computation of higher-order residues. A lot of research has recently been dedicated to these kinds of problems [12,13,14,15,16,17].
In this paper, we focus on roots of power residues modulo powers of two. Given a positive integer n, nth roots of power residues modulo powers of two are solutions to the congruence
x n a mod 2 e ,
where a is an odd integer and e 1 . This congruence can be easily solved when e = 1 or e = 2 because in such a case, the multiplicative group Z 2 e of integers modulo 2e has primitive roots. For instance, when e = 2 , g = 3 is a primitive root modulo 2 2 . Thus, solving (1) comes down to finding solutions to the linear congruence
n y i n d g ( a ) mod 2 ,
where i n d g ( a ) is the index of a with respect to g [18,19]. The congruence (2) has solutions if and only if the gcd of n and 2, denoted ( n , 2 ) , divides i n d g ( a ) . Moreover, if it has solutions, then it has ( n , 2 ) solutions in Z 2 2 . Two cases are now to be considered:
  • n is odd. In this case, ( n , 2 ) = 1 and so the congruence (2) has exactly one solution in Z 2 2 , no matter a;
  • n is even. In this case, the congruence (2) has solutions if and only if i n d g ( a ) = 0 , which is equivalent to saying that a 1 mod 2 2 . Moreover, if the congruence has solutions, then it has exactly two solutions in Z 2 2 , namely 1 and 3.
Solving (1) when e > 2 is harder mainly because Z 2 e does not have primitive roots. When n is odd, the unique solution modulo 2 2 can be lifted to 2e in exactly one way. Thus, for n odd, the congruence (1) always has a unique solution in Z 2 e .
The case when n is even contrasts sharply with the case when n is odd. It can be shown in this case [20,21] that the congruence (1) is solvable if and only if a 1 mod 2 d + 2 , where 2 d = ( n , 2 e 2 ) . Moreover, if the congruence is solvable, then it has 2 d + 1 solutions in Z 2 e . This result gives information about the solvability of (1) when n is even, but it does not say anything about the form of the solutions or how to obtain them. Nor does its proof in [21] provide a characterization of the solutions.
  • Contribution
In this paper, we provide a characterization of the solutions to x n a mod 2 d + , where n = 2 d k , d 1 , k is odd, and 2 . More precisely, we show that each solution to this congruence can be written in the form u + 2 q , where u is uniformly distributed in a set with exactly two odd integers less than 2 , while q is uniformly distributed between 0 and 2 d 1 . Moreover, we show that u can be obtained recursively from one of the two integers in the set { 1 , 3 } . This characterization leads to a reasonably efficient algorithm to generate random solutions for the above congruence:
  • Choose randomly an integer u 2 from the set { 1 , 3 } ;
  • Apply the recursive procedure to u 2 in 2 steps to get an integer u ;
  • Randomly generate q between 0 and 2 d 1 ;
  • Return the solution u + 2 q .
  • Preliminaries
We recall some basic notation and terminology on elementary number theory that we are going to use in the paper. For details, the reader is referred to [18,19].
The set of integers is denoted by Z . For two positive integers a and b, C a b stands for the number of combinations of a taken by b.
The gcd of two integers a and b is denoted ( a , b ) . a and b are called co-prime if ( a , b ) = 1 . If m is another integer, then a and b are called congruent modulo m, which are denoted a b mod m or a m b , if m divides a b . The remainder of the integer division of a by m, assuming m 0 , is denoted a mod m .
Given a positive integer m, Z m stands for { 0 , , m 1 } and Z m = { a Z n ( a , m ) = 1 } . The cardinality of Z m is ϕ ( m ) , where ϕ is Euler’s totient function. As a multiplicative group, Z m is cyclic if and only if m is 2, 4, p e , or 2 p e for some prime p 3 and e 1 . When Z m is cyclic, it has generators (also called primitive roots), and each integer a Z m can be written as g i mod m for any generator g and some unique 0 i < ϕ ( m ) that depends on g. The integer i is called the index of a with respect to g modulo m, which is denoted i n d q ( a ) mod m .
Let f be a polynomial with integer coefficients, p be a prime, and e > 1 . If a Z p e is a solution to the congruence
f ( x ) 0 mod p e
then r = a mod p e 1 is a solution to the congruence
f ( x ) 0 mod p e 1
When a solution r Z p e 1 to (4) gives rise to a solution a to (3) such that r = a mod p e 1 , we say that r is lifted from p e 1 to p e . The theorem below provides the lifting criteria.
Theorem 1
(Hensel’s Lemma, [18,19]). Let p 2 be a prime integer, e > 1 , and r Z p e 1 be a solution to (4). Then, the following properties hold:
1. 
If f ( r ) 0 mod p , where f is the formal derivative of f, then r can be lifted from p e 1 to p e in a unique way a = r + q p e 1 , where q is the unique solution modulo p to the linear congruence;
q f ( r ) + f ( r ) p e 1 0 mod p
2. 
If f ( r ) 0 mod p and f ( r ) 0 mod p e , then r can be lifted from p e 1 to p e in exactly p distinct ways a i = r + i p e 1 , for all 0 i < p ;
3. 
If f ( r ) 0 mod p and f ( r ) 0 mod p e , then r cannot be lifted from p e 1 to p e .
An integer a co-prime with m is an nth residue modulo m, where n 2 , if the congruence x n a mod m is solvable. When solvable, any solution to this congruence will be called an nth root of a modulo m.

2. Characterization Results

Let n = 2 d k be an even integer, a be an odd integer, and e 2 , where d , k 1 . In the study of the solutions to the congruence (1), we will distinguish two important cases: the first case is the one in which e d + 2 , and the second is the one in which e > d + 2 .
Before entering into the treatment of the two cases, we present a technical result.
Lemma 1.
Let n = 2 d k be an even integer, where d , k 1 . Then, for any 1 i < n , 2 d + ( i 1 ) / 2 + 1 divides C n i 2 i , where · stands for the floor function.
Proof. 
Recall from [22] (Chapter 1, §15) that the highest power of a prime p that divides i ! , where i 1 , is given by
i p + i p 2 +
Taken p = 2 and assuming that 2 t i < 2 t + 1 for some t 1 , we obtain
i 2 + i 2 2 + = i 2 + i 2 2 + + i 2 t i j = 1 t 1 2 j = i i 2 t i 1
Now, given 1 i < n , we have
C n i 2 i = n ( n 1 ) ( n i + 1 ) 1 i 2 i
Let i ! = 2 s a , where a is odd. According to the above result, s i 1 .
The factors ( n 2 ) , ( n 4 ) , and so on are all even. There are ( i 1 ) / 2 such factors. As n = 2 d k , we conclude that 2 d + ( i 1 ) / 2 + 1 must divide C n i 2 i . □
The following lemma completely treats the first case.
Lemma 2.
Let a be an odd integer and n = 2 d k be an even integer, where d , k 1 . Then, for any 0 d , the following two properties hold:
1. 
The congruence
x n a mod 2 + 2 ;
is solvable in Z if and only if a 1 mod 2 + 2 ;
2. 
If the congruence (6) is solvable, then it has 2 + 1 solutions in Z 2 + 2 , namely all the odd integers in this set.
The standard proof of Lemma 2 is based on the fact that any odd integer r fulfills the congruence
r 2 1 mod 2 + 2 ,
for any 1 (remark that we can only get r 2 1 mod 2 + 1 by Euler’s theorem). This fact was first noticed in [21] and can be easily proved by mathematical induction. According to this fact, the congruence (6) is solvable if and only if a 1 mod 2 + 2 and, when it is solvable, any odd integer is a solution to it.
We can also prove Lemma 2 by using Hensel’s Lemma. For the sake of uniformity and completeness with the second case that we discuss further, we attach in Appendix A a proof of this type for Lemma 2.
We now turn to the second case mentioned at the beginning of the section.
Theorem 2.
Let a be an odd integer and n = 2 d k be an even integer, where d 1 and k is odd. Then, for any 2 , the following two properties hold:
1. 
The congruence
x n a mod 2 d +
is solvable in Z if and only if a 1 mod 2 d + 2 .
2. 
If the congruence (7) is solvable, then there exists a set U with exactly two odd integers less than 2 such that the set of solutions in Z 2 d + to the congruence (7) is
{ u + 2 q u U , 0 q < 2 d }
and has the cardinality 2 d + 1 .
Proof. 
The congruence (7) is solvable if and only if the congruence x n a mod 2 d + 2 is solvable and at least one of its solutions can be lifted from 2 d + 2 to 2 d + . According to Lemma 2, the congruence x n a mod 2 d + 2 is solvable if and only if a 1 mod 2 d + 2 . We will further show that, when x n a mod 2 d + 2 is solvable, half of its solutions can be lifted, in consecutive steps, from 2 d + 2 to 2 d + .
For the sake of clarity, we denote by C the set of solution in Z 2 d + to the congruence (7). According to the division theorem, for any r C , there exist unique u and q such that r = u + 2 q , 0 < u < 2 , and q 0 . Moreover, u must be odd. We further use the following notation:
  • U —the set of remainders u of the solutions r C , as defined above;
  • C ( u ) —the set of all r C such that the remainder of dividing r by 2 is u;
  • C 0 ( u ) —the set of all r C ( u ) such that the quotient of dividing r by 2 is even;
  • C 1 ( u ) —the set of all r C ( u ) such that the quotient of dividing r by 2 is odd.
We are now ready to prove by mathematical induction on 2 the following properties:
(P1)
The set U contains exactly two odd integers and C = { u + 2 q u U , 0 q < 2 } . As a result, | C | = 2 + 1 ;
(P2)
| C 0 ( u ) | = | C 1 ( u ) | = 2 d 1 , for any u U ;
(P3)
For any u U and depending on it, either all solutions in C 0 ( u ) or all solutions in C 1 ( u ) fulfill the lifting requirement from 2 d + to 2 d + + 1 . Then, C + 1 is obtained by lifting all solutions r that fulfill the lifting requirement in exactly two ways, namely r and r + 2 d + .
Base step: = 2 . According to Lemma 2, the solutions to x n a mod 2 d + 2 are all the integers in Z 2 d + 2 . According to the division theorem, each of them can be written as r = u + 2 2 q , where u U 2 = { 1 , 3 } and 0 q < 2 d . Then, we can easily show that the properties ( P 1 ) and ( P 2 ) are true.
We focus now on the property ( P 3 ) . Let f ( x ) = x n a . We remark that f ( x ) = n x n 1 0 mod 2 and, therefore, according to Hensel’s Lemma, a solution r C 2 can be lifted from 2 d + 2 to 2 d + 3 if and only if f ( r ) 0 mod 2 d + 3 . The last condition is equivalent to r n a mod 2 d + 3 .
Let r = u + 2 2 q C 2 , where u U 2 and 0 q < 2 d . Then,
r n = ( u + 2 2 q ) n = u n + C n 1 u n 1 2 2 q + C n 2 u n 2 2 4 q 2 + + C n n 2 2 n q n = u n + 2 d + 2 k u n 1 q + C n 2 u n 2 2 4 q 2 + + C n n 2 2 n q n
Now, remark that k and u are odd and 2 d + 3 divides C n i 2 2 i , for all i 2 (Lemma 1). Therefore,
r n u n mod 2 d + 3 , if r C 0 2 ( u ) ( u n + 2 d + 2 ) mod 2 d + 3 , if r C 1 2 ( u )
It remains now to investigate the relationship between u n and a modulo 2 d + 3 . Looking back to the binomial expansion of r n , we conclude that r n u n mod 2 d + 2 . As r n a mod 2 d + 2 (because r C 2 ), we obtain u n a mod 2 d + 2 . Combining this with a 1 mod 2 d + 2 , we get
a = 1 + b 2 d + 2 + β 2 d + 3 ,
for some b { 0 , 1 } and integer β 0 , and
u n = 1 + c 2 d + 2 + γ 2 d + 3 ,
for some c { 0 , 1 } and integer γ 0 .
Two cases are to be considered now:
  • b = c . In such a case, u n a mod 2 d + 3 . As r n u n mod 2 d + 3 for all r C 0 2 ( u ) , we obtain r n a mod 2 d + 3 for all r C 0 2 ( u ) . This means that all r C 0 2 ( u ) fulfill the lifting requirement from 2 d + 2 to 2 d + 3 ;
  • b c . This is equivalent to b c + 1 mod 2 , and therefore, u n + 1 a mod 2 d + 3 . As in the previous case, we obtain r n a mod 2 d + 3 for all r C 1 2 ( u ) and so, all solutions in C 1 2 ( u ) can be lifted from 2 d + 2 to 2 d + 3 .
One has also to remark that if a solution in C 0 2 ( u ) can be lifted from 2 d + 2 to 2 d + 3 , then no solution in C 1 2 ( u ) can be lifted from 2 d + 2 to 2 d + 3 , and vice versa. Moreover, the lifting requirement above is depended on u.
According to Hensel’s Lemma, a solution r is lifted to 2 d + 3 in exactly two ways, r and r + 2 d + 2 . Thus, the property ( P 3 ) is proved.
Inductive step: Assume that the three properties hold for 2 and we prove them for + 1 . The elements of the set C + 1 are obtained by lifting the elements of either C 0 ( u ) or C 1 ( u ) , depending on u U , from 2 d + to 2 d + + 1 .
If r = u + 2 q C 0 ( u ) , then
r = u + 2 + 1 q
and
r + 2 d + = u + 2 + 1 ( q + 2 d 1 ) ,
where q = 2 q , 0 q < 2 d 1 . Therefore, if C 0 ( u ) is lifted to 2 d + + 1 , then u U + 1 and C + 1 will include all the integers u + 2 + 1 q with and even q, 0 q < 2 d .
If r = u + 2 q C 1 ( u ) , then
r = u + 2 + 2 + 1 q
and
r + 2 d + = u + 2 + 2 + 1 ( q + 2 d 1 ) ,
where q = 1 + 2 q , 0 q < 2 d 1 . Therefore, if C 1 ( u ) is lifted to 2 d + + 1 , then u + 2 U + 1 and C + 1 will include all the integers u + 2 + 1 q with an odd q, 0 q < 2 d .
These show that ( P 1 ) and ( P 2 ) hold. The property ( P 3 ) is proven in a quite similar way as in the base step of the induction, and so it is omitted.
As the three properties ( P 1 ) , ( P 2 ) , and ( P 3 ) hold, we conclude that the theorem holds. □
Example 1.
Assume that we want to lift the solutions to the congruence x 12 81 mod 2 4 to 2 5 and 2 6 . In this case, n = 2 2 · 3 , d = 2 , a = 81 , and { 2 , 3 , 4 } .
As a 1 mod 2 4 , the congruence has 2 3 solutions in Z 2 4 . These solutions can be obtained as shown by Lemma 2. They can be lifted to 2 5 and 2 6 by the procedure shown in the proof of Theorem 2. The process is illustrated in Figure 1.

3. Computational Aspects

Let n = 2 d k be an even integer, 0 d , and let a be an odd integer such that a 1 mod 2 + 2 , where d , k 1 . Finding solutions to the congruence (6) is easy. According to Lemma 2, any odd integer between 0 and 2 + 2 1 is a solution to this congruence, and therefore, what we have to do is to generate integers in this interval. If a random integer in this interval is odd, then it is a solution to the congruence. Otherwise, we may increment or decrement it by one to get a solution.
Let us consider now n = 2 d k , > 2 , and a Z 2 d + such that d 1 , k 1 is odd, and a 1 mod 2 d + 2 . The proof of Theorem 2 leads to an efficient algorithm to generate solutions to the congruence (7). The algorithm is based on the following remarks:
1.
Each solution r has the form r = u + 2 q , where u U and 0 q < 2 d ;
2.
To compute r comes down to compute u. This can be efficiently done in a recursive way starting with some u 2 U 2 = { 1 , 3 } and updating it by
u i + 1 = u i , if u i n [ d + i ] = a [ d + i ] u i + 2 i , otherwise
for all 2 i < ( x [ d + i ] denotes the ( d + i ) th bit in the binary representation of x);
3.
When u is reached, randomly choose q [ 0 , 2 d ) and return r = u + 2 q .
The algorithm is presented below.
The correctness of Algorithm 1 follows from the proof of Theorem 2. As one can see, the most complex operation is the modular exponentiation u n mod 2 d + i + 1 . This step can be optimized by using Euler’s theorem. Namely:
  • Compute s = k mod 2 i ;
    Algorithm 1 Generating a random solution to x n a mod 2 d +
    Input: n = 2 d k with d 1 and k 1 odd, > 2 , a with a 1 mod 2 d + 2
    Output: a random solution r to x n a mod 2 d +
       u { 1 , 3 }
      for i : = 2 to 1  do
         v : = u n mod 2 d + i + 1
        if  v [ d + i ] a [ d + i ]  then
           u : = u + 2 i
        end if
      end for
       q [ 0 , 2 d )
       r : = u + 2 q
  • Compute v = u 2 d s mod 2 d + i + 1 .
The correctness of this is based on the fact that if k = s + 2 i q , where 0 < s < 2 i , then
u 2 d k u 2 d s u i 2 d + i q mod 2 d + i + 1 u 2 d s mod 2 d + i + 1
due to the Euler’s theorem, according to which u 2 d + i 1 mod 2 d + i + 1 .
The extraction of the bits of the binary representations of a and u n , and also the addition and multiplication by powers of two, are very efficient operations that can be neglected.
Hensel’s lifting procedure is a general methodology for lifting solutions to polynomial congruences. Algorithm 1 should be seen as a practical streamlining of the lifting process, reducing the number of operations and the size of the operands. More precisely:
  • By Hensel’s lifting, we start with an odd integer r 2 in the interval [ 0 , 2 d + 2 ) and try to lift it in consecutive steps to 2 d + ;
  • Assume that we have obtained r i in the interval [ 0 , 2 d + i ) , where 2 i < . If the lifting requirement for r i is fulfilled, then r i is lifted to 2 d + i + 1 in one of the two possible ways. Otherwise, we go back to r i 1 and lift it again in the second possible way if it has not been tried yet. If both lifting possibilities have been tried, then we go back to r i 2 . Thus, we are faced with a backtracking process that can be very expensive. For instance, let us look to the table in Figure 1. The solution r 2 = 3 + 2 3 in the second column is lifted to r 3 = 3 + 2 3 and then to r 4 = 3 + 2 3 + 2 5 . However, r 4 cannot be lifted further and so, we have to go back to r 3 . Even the second lifting possibility for r 3 will not be able to lift further. As a result, we go back to r 2 ;
  • Algorithm 1 completely avoids the backtracking process above;
  • Hensel’s lifting procedure exponentiates integers in Z 2 d + i to see if they can be lifted from 2 d + i to 2 d + i + 1 . Algorithm 1 exponentiates only two residues modulo 2 i to get all solution modulo 2 d + i + 1 .
Our discussion above shows that the complexity of Algorihm 1 is O ( log 3 n ) , while the complexity of Hensel’s lifting can be estimated to:
  • Best case: O ( log 3 n ) , where is the parameter in Algorithm 1;
  • Worst case: O ( ( i = 1 s i ) log 3 n ) , where s i is the maximum number of backtraking possibilities at the ith lifting.

4. Conclusions

We have proposed a characterization for the roots of power residues modulo powers of two. Namely, by this characterization, each solution to x n a mod 2 d + , where n = 2 d k , d 1 , k 1 is odd, and 2 can be written in the form u + 2 q , where u is uniformly distributed in a set with two integers les than 2 and q is uniformly distributed between 0 and 2 d 1 . Moreover, we have also obtained a recurrence relation for u , starting from some u 2 { 1 , 3 } .
This characterization leads to a reasonably efficient algorithm to generate random solutions for the above congruence. Finding a way to efficiently compute u i + 1 n mod 2 d + i + 2 from u i n mod 2 d + i + 1 , where 2 i < , would lead to a great improvement of Algorithm 1.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The author declares no conflict of interest.

Appendix A. Proof of Lemma 2

Proof. 
We prove the lemma by mathematical induction on 0 .
Base step: = 0 . We know that the congruence x n a mod 2 2 is solvable if and only if a 1 mod 2 2 [20]. Assuming that it is solvable, it has two solutions in Z 4 , namely 1 and 3 (remark that n is even).
Inductive step: Assume that the lemma holds for 0 < d and we prove that it holds for + 1 . According to Hensel’s Lemma, the congruence x n a mod 2 + 3 has solutions if and only if the congruence (6) has solutions and at least one of it can be lifted to 2 + 3 .
Let us assume first that the congruence (6) has solutions, and let r be one of them. We prove that this solution can be lifted to 2 + 3 . Let f ( x ) = x n a . As f ( x ) = n x n 1 and n is even, we deduce that f ( x ) 0 mod 2 , for any integer x. Therefore, according to Hensel’s Lemma, r can be lifted to 2 + 3 if and only if f ( r ) 0 mod 2 + 3 . Let 0 q < 2 + 1 such that r = 1 + 2 q . Then, by binomial expansion and Lemma 1, we obtain:
f ( 1 + 2 q ) = ( 1 + 2 q ) n a = ( 1 a ) + C n 1 2 q + C n 2 2 2 q 2 + C n 3 2 3 q 3 + + C n n 2 n q n = ( 1 a ) + 2 d + 1 k q + k ( n 1 ) q 2 + C n 3 2 3 q 3 + + C n n 2 n q n ( A )
The first two terms in A have the same parity, while all the other terms are even (again, by Lemma 1). Therefore, A is even showing that 2 d + 1 A 0 mod 2 d + 2 . As + 3 d + 2 , f ( 1 + 2 q ) 0 mod 2 + 3 if and only if a 1 mod 2 + 3 . In other words, x n a mod 2 + 3 has solutions if and only if a 1 mod 2 + 3 .
Let us assume now that x n a mod 2 + 3 has solutions. Then, all its solutions in Z 2 + 3 are obtained by lifting the solutions to x n a mod 2 + 2 to 2 + 3 . If 1 + 2 q is a solution to x n a mod 2 + 2 , for some 0 q < 2 + 1 , then it is lifted to 2 + 3 in exactly two ways: 1 + 2 q + 0 · 2 + 2 and 1 + 2 q + 1 · 2 + 2 = 1 + 2 ( q + 2 + 1 ) . One can easily see now that in this way, we get exactly 2 + 2 (incongruent modulo 2 + 3 ) solutions to x n a mod 2 + 3 , each of the form specified by the lemma. □

References

  1. Rabin, M.O. Digitalized Signatures and Public-Key Functions as Intractable as Factorization; Technical Report; MIT: Cambridge, MA, USA, 1979. [Google Scholar]
  2. Goldwasser, S.; Micali, S. Probabilistic Encryption and How to Play Mental Poker Keeping Secret All Partial Information; STOC 1982; ACM: New York, NY, USA, 1982; pp. 365–377. [Google Scholar]
  3. Goldwasser, S.; Micali, S. Probabilistic encryption. J. Comput. Syst. Sci. 1984, 28, 270–299. [Google Scholar] [CrossRef] [Green Version]
  4. Blum, L.; Blum, M.; Shub, M. A Simple Unpredictable Pseudo-random Number Generator. SIAM J. Comput. 1986, 15, 364–383. [Google Scholar] [CrossRef]
  5. Cocks, C. An Identity Based Encryption Scheme Based on Quadratic Residues. In Proceedings of the 8th IMA International Conference on Cryptography and Coding, Cirencester, UK, 17–19 December 2001; Springer: London, UK, 2001; pp. 360–363. [Google Scholar]
  6. Boneh, D.; Gentry, C.; Hamburg, M. Space-Efficient Identity Based Encryption without Pairings. In Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’07, Providence, RI, USA, 21–23 October 2007; IEEE Computer Society: Washington, DC, USA, 2007; pp. 647–657. [Google Scholar]
  7. Ateniese, G.; Gasti, P. Universally Anonymous IBE Based on the Quadratic Residuosity Assumption. In Proceedings of the Cryptographers’ Track at the RSA Conference 2009 on Topics in Cryptology, CT-RSA ’09, San Francisco, CA, USA, 20– 24 April 2009; Springer: Berlin/Heidelberg, Germany, 2009; pp. 32–47. [Google Scholar]
  8. Clear, M.; Tewari, H.; McGoldrick, C. Anonymous IBE from Quadratic Residuosity with Improved Performance. In Proceedings of the AFRICACRYPT 2014, Marrakesh, Morocco, 28–30 May 2014; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2014; Volume 8469, pp. 377–397. [Google Scholar]
  9. Joye, M. Identity-Based Cryptosystems and Quadratic Residuosity. In Proceedings of the PKC 2016, Taipei, Taiwan, 6–9 March 2016; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2016; Volume 9614, pp. 225–254. [Google Scholar]
  10. Ţiplea, F.L.; Iftene, S.; Teşeleanu, G.; Nica, A.M. On the distribution of quadratic residues and non-residues modulo composite integers and applications to cryptography. Appl. Math. Comput. 2020, 372, 124993. [Google Scholar] [CrossRef]
  11. Ţiplea, F.L. A brief introduction to quadratic residuosity based cryptography. Rev. Roum. Math. Pures Appl. 2021, 66, 793–811. [Google Scholar]
  12. Caranay, P.C.; Scheidler, R. An Efficient Seventh Power Residue Symbol Algorithm. Int. J. Number Theory 2010, 6, 1831–1853. [Google Scholar] [CrossRef] [Green Version]
  13. Cao, Z.; Dong, X.; Wang, L.; Shao, J. More Efficient Cryptosystems From k-th Power Residues. IACR Cryptol. ePrint Arch. 2013, 2013, 569. [Google Scholar]
  14. Berhamouda, F.; Herranz, J.; Joye, M.; Libert, B. Efficient Cryptosystems From 2k-th Power Residue Symbols. J. Cryptol. 2017, 30, 519–549. [Google Scholar] [CrossRef] [Green Version]
  15. Joye, M. Evaluating Octic Residue Symbols. IACR Cryptol. ePrint Arch. 2019, 2019, 1196. [Google Scholar]
  16. Brier, É.; Naccache, D. The Thirteenth Power Residue Symbol. IACR Cryptol. ePrint Arch. 2019, 2019, 1176. [Google Scholar]
  17. Joye, M.; Lapiha, O.; Nguyen, K.; Naccache, D. The Eleventh Power Residue Symbol. J. Math. Cryptol. 2021, 15, 111–122. [Google Scholar] [CrossRef]
  18. Apostol, T.M. Introduction to Analytic Number Theory; Undergraduate Texts in Mathematics; Springer: New York, NY, USA, 1976. [Google Scholar]
  19. Nathanson, M.B. Elementary Methods in Number Theory; Graduate Texts in Mathematics; Springer: New York, NY, USA, 2000; Volume 195. [Google Scholar]
  20. Ireland, K.; Rosen, M. A Classical Introduction to Modern Number Theory, 2nd ed.; Springer: New Delhi, India, 1990. [Google Scholar]
  21. Dence, J.B.; Dence, T.P. Residues—Part III, Congruences to General Composite Moduli. Mo. J. Math. Sci. 1997, 9, 72–78. [Google Scholar] [CrossRef]
  22. Dirichlet, P.G.L. Lectures on Number Theory; History of Mathematics Source Series (Book 16); American Mathematical Society: Providence, RI, USA, 1999. [Google Scholar]
Figure 1. Lifting the solutions to x 12 81 mod 2 4 .
Figure 1. Lifting the solutions to x 12 81 mod 2 4 .
Mathematics 10 00908 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ţiplea, F.L. Efficient Generation of Roots of Power Residues Modulo Powers of Two. Mathematics 2022, 10, 908. https://doi.org/10.3390/math10060908

AMA Style

Ţiplea FL. Efficient Generation of Roots of Power Residues Modulo Powers of Two. Mathematics. 2022; 10(6):908. https://doi.org/10.3390/math10060908

Chicago/Turabian Style

Ţiplea, Ferucio Laurenţiu. 2022. "Efficient Generation of Roots of Power Residues Modulo Powers of Two" Mathematics 10, no. 6: 908. https://doi.org/10.3390/math10060908

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop