The present invention considers the exponential congruence
a0x≡y0(mod p) (1)
where p is prime and a0 is a primitive root modulo p. Since a0 is primitive, x and y0 are in a one-to-one correspondence for integer values in the range 1≤x, y0≤p−1 [3]. Let G denote the set of integers {1, 2, . . . , p−1} and let |G| denote their number. Given p and a0 and given y0 in G, it is desired to find x modulo p−1. The integer x is usually referred to as the discrete logarithm of y0 in base a0 modulo p. (As used herein, references to the “present invention” or “invention” relate to exemplary embodiments and not necessarily to every embodiment encompassed by the appended claims.)
Pohlig and Hellman discussed the significance of this problem for cryptographic systems [3]. It was concluded by Pohlig and Hellman that, if p−1 has only small prime factors, x can be computed in a time of the order of log2 p. However, if p−1 has a large prime factor p′, the search for x requires a time of the order p′ ·log p and may be untraceable. As an illustration, Pohlig and Hellman presented two large primes of the form p=2·p′+1, where p′ is also prime and where
p′=213·5·7·11·13·17·19·23·29·31·37·41·43·47·530.59+1 (2)
or
p′=2121·52·72·112·13·17·19·23·29·31·37·41·43·47·53·59+1. (3)
In general, let p=2·p′+1, where p′ is prime and
p′−1=2ε
where ε0≥1 and, for 1≤i≤h, q1 denotes an odd prime and εi>0. Also, for 1≤i<h, 2<qi<qi+1.
NOTE 1: Pohlig and Hellman observed that q1≠3. In fact p=2·p′+1=2·(p′−1)+3. Since p is prime, it must be gcd (3, p′−1)=1.
NOTE 2: Let X denote the set of elements of G which are relatively prime to p−1 and let A denote the set of primitive roots modulo p. Then |X|=|A|=φ(p−1), where φ(n) denotes the Euler totient function.
NOTE 3: The elements of X form a commutative (abelian) group under the operation of multiplication modulo p−1. An integer m≥1 has a primitive root if and only if m=1, 2, 4, pd or 2·pd, where p is prime number and a is a positive integer [1, p. 211]. When X is cyclic, there exist integers p which are primitive roots of X modulo p−1. When primitive roots of X exist, let Y denote the set of elements of X which are primitive roots of X modulo p−1.
NOTE 4: Section VIII below shows that, when p′−1 can be described as in (4), X is cyclic only if ε0<3
The present invention introduces an algorithm which, when p=2·p′+1, p′ is prime and p′−1 contains only small prime factors, produces the solution of (1) in a time of the order of log log p·log2 p.
The present invention pertains to a decoding apparatus. The decoding apparatus comprises a non-transient memory in which is stored an electromagnetic signal representative of data which were encrypted relying on the difficulty of computing discrete logarithms. The decoding apparatus comprises a computer in communication with the memory that decodes the encrypted data in the memory by computing the data's discrete logarithm. The decoding apparatus comprises a display on which the decoded encrypted data are displayed by the computer.
The present invention pertains to a method for processing an electromagnetic signal representative of encrypted data which were produced relying on the difficulty of computer discrete logarithms, comprising a first computer. The method comprises the steps of storing the encrypted data in a non-transient memory of a second computer. There is the step of performing with the second computer in communication with the memory the computer-generated steps of decoding the encrypted data in the memory by computing the data's discrete logarithms, and displaying on a display the decoded data.
The present invention pertains to a computer program stored in a non-transient memory for decoding an electromagnetic signal which is encrypted relying on the difficulty of computing discrete logarithms. The program has the computer-generated steps of storing the encrypted data in a non-transient memory. There is the step of decoding the encrypted data in the memory by computing the data's discrete logarithms. There is the step of displaying on a display the decoded data.
The present invention pertains to a method for reducing the complexity of an exponential congruence, preferably for decoding, which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. The method comprises the steps of executing with a computer a sequence of reversible transformations supported by a non-transient memory in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. There is the step of reporting the restated problem on a display.
The present invention pertains to a method for decoding. The method comprises the steps of selecting with a computer primitives of sub-groups of a group stored in a non-transient memory, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product. There is the step of reporting the exponents on a display.
In the accompanying drawings, the preferred embodiment of the invention and preferred methods of practicing the invention are illustrated in which:
Referring now to the drawings wherein like reference numerals refer to similar or identical parts throughout the several views, and more specifically to
The computer 12 may reduce the complexity of an exponential congruence which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000, and executes a sequence of reversible transformations supported by the non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. The computer 12 may select primitives of sub-groups of a group stored in the non-transient memory 14, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product.
The present invention pertains to a method for processing an electromagnetic signal representative of encrypted data which were produced relying on the difficulty of computing discrete logarithms. The method comprises the steps of producing the electromagnetic signal by a first computer 12. There is the step of providing the signal to a second computer 22 through an input 20 of the second computer 22. The input 20 can be a keyboard in communication with the second computer 22 or a memory port, such as a USB port that receives a flash drive or a CD reader that receives a CD with the signal; or the input 20 can be a network interface card in communication with the second computer 22 having a network port which is in communication with a network 24 over which the signal is transmitted from the first computer 12. The second computer 22 obtains the signal from the network 24 through the input 20 of the second computer 22. There is the step of storing the encrypted data in a non-transient memory 14 of a second computer 22. There is the step of performing with the second computer 22 in communication with the memory 14 the computer-generated steps of decoding the encrypted data in the memory 14 by computing the data's discrete logarithms, and displaying on a display 18 the decoded data.
The performing step may include the steps of reducing the complexity of an exponential congruence which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. There may be the step of executing with the computer a sequence of reversible transformations supported by a non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. There may be the step of reporting the restated problem on a display 18. The performing step may include the step of selecting with the computer primitives of sub-groups of a group stored in the non-transient memory 14, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product.
The present invention pertains to a computer program 16 stored in a non-transient memory 14 for decoding an electromagnetic signal which is encrypted relying on the difficulty of computing discrete logarithms. The program has the computer-generated steps of storing the encrypted data in a non-transient memory 14. There is the step of decoding the encrypted data in the memory 14 by computing the data's discrete logarithms. There is the step of displaying on a display 18 the decoded data.
The decoding step may include the steps of reducing the complexity of an exponential congruence which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. There may be the step of executing with the computer a sequence of reversible transformations supported by a non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1.
The decoding step may include the steps of selecting with the computer primitives of sub-groups of a group stored in the non-transient memory 14, where the group is defined modulo (p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product.
The present invention pertains to a method for reducing the complexity of an exponential congruence, preferably for decoding, which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. The method comprises the steps of executing with a computer a sequence of reversible transformations supported by a non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. There is the step of reporting the restated problem on a display 18.
The present invention pertains to an apparatus 10 for reducing the complexity of an exponential congruence, preferably for decoding, which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. The apparatus 10 comprises a non-transient memory 14. The apparatus 10 comprises a computer in communication with the non-transient memory 14 which executes a sequence of reversible transformations supported by the non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. The apparatus 10 comprises a display 18 on which the restated problem is reported.
The present invention pertains to a computer program 16 stored in a non-transient memory 14 for reducing the complexity of an exponential congruence, preferably for decoding, which is defined modulo p, where p=2·p′+1, p′ is also a prime and p′−1 contains only factors which are smaller than 100,000. The program comprises the computer generated steps of executing a sequence of reversible transformations supported by a non-transient memory 14 in such a way that the exponential congruence modulo p is restated as a problem involving new relationships modulo p and a concurrent independent congruence modulo p−1. There is the step of reporting the restated problem on a display 18.
The present invention pertains to a method for decoding. The method comprises the steps of selecting with a computer primitives of sub-groups of a group stored in a non-transient memory 14, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product. There is the step of reporting the exponents on a display 18.
The present invention pertains to a computer program 16 stored in a non-transient memory 14 for decoding. The program comprises the computer generated steps of selecting primitives of sub-groups of a group stored in a non-transient memory 14, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product. There is the step of reporting the exponents on a display 18.
The present invention pertains to an apparatus 10 for decoding. The apparatus 10 comprises a non-transient memory 14. The apparatus 10 comprises a computer in communication with the memory 14 which selects primitives of sub-groups of a group stored in the non-transient memory 14, where the group is defined modulo φ(p−1) in such a way that an exponent of any one primitive is independent on an exponent of any other primitive, thus reducing the complexity of a search for such exponents to a number of operations of the order of a sum of such exponents as opposed to their product. The apparatus 10 comprises a display 18 in communication with the computer on which the exponents are reported.
In the operation of the invention, the following is a description of the solution of (1).
In general in (1) a0 is not a primitive root of X modulo p−1. It is convenient to restate (1) in such a way that on the LHS of (1) a0 be replaced by a primitive of X modulo p−1.
If ρ denotes a primitive of X modulo p−1, consider the process of raising both sides of (1) by ρl. As l increases, a0ρ
If p is large, and if p=2·p′+1, where p′ is also prime, approximately half of the elements of G are elements of this orbit [2, p. 269].
For some integer {tilde over (l)}, a0p
Then
ax≡y(mod p). (6)
An integer which is a primitive root of p and also a primitive of X modulo p−1 will be referred to as a superprimitive of p.
Table I shows the superprimitives of a set of small primes (ε0≤2).
Table II shows some relevant variables for such primes.
NOTE 1: If ε0≤2, X is cyclic and there exist an integer ρ which is a primitive root of X modulo p−1. If p is large, to determine ρ it is sufficient to select any random integer and to verify that a) ρ is an element of X, which means that it is relatively prime to p−1, and b) ρ is an element of Y, which means that it is relatively prime to φ(p−1)=p′−1. The process of producing ρ should not be long, because, if p is large, the probability that two integers be prime to one another is 6/π2 [2, p. 269]. Thus, the probability that an integer chosen at random be prime to p−1 and p′−1 is approximately (6/π2)2 or 1/2.7055.
NOTE 2: The ratio |A|/|(A∩Y)| is relevant because it is related to the number of trials which should be expected when is employed in the search for a.
NOTE 3: The ratio |A|/|(A∩Y)| may grow when p increases. As an example, when p=6466463=2·p′+1 and p′=2·5·7·11·13·17·19+1, |A|/|A∩Y|=7.7931.
NOTE 4: Comparing the data for p2=6466463 and p1=587, observe that, when p is replaced by p2, the ratio |A|/|A∩Y| is multiplied by a factor of 7.7931/4.2941, which is less than 2, while 6466463 is greater than 5872.
In general in (6) y is not a primitive root modulo p. It is convenient to restate (6) in such a way that the RHS of (6) be a primitive modulo p. This can be accomplished by multiplying both sides of (6) by a, a sufficient number of times until the desired condition is satisfied. If after 7′-iterations this condition is satisfied, let
Then
as≡b(mod p). (8)
After this restatement the search for x is conducted in a smaller, more structured environment. Since b is a primitive modulo p and a is a primitive of X modulo p−1, s is relative prime to p−1 and can be represented as follows
where t denotes an integer and 0≤t<φ(p−1).
Consider the process of raising the second of (9) to au modulo p. Let d denote the least positive residue modulo p of the corresponding RHS of (9). As u increases, the integer d describes an orbit of primitives modulo p. It is desired that d be also a primitive of X modulo p−1. If, after L operations this condition is satisfied, define
where
Consider the integer dd
Therefore, there does exist an integer w such that
The exponential congruence (1) is referred to as a “one-way” transaction, meaning that, when x is known, it is easy to compute a0x modulo p, while, when y0 is known, the computation of x may be untractable. The restatement introduced by this section produces the congruences (10) and (12), which have similar structure and comparable complexity.
In order to determine the relationship between υ and w, raise (12) to aυ modulo p. It will be
whence, by (10),
aυ·dw=1(mod p−1) (14)
or
aυ≡d−w(mod p−1). (14)
As a conclusion: υ and w are exponents of known superprimitives of p, a and d, respectively. The integers aυ and dw are related in a congruence which is defined modulo p−1.
NOTE 1: In general, given (1), the integers a and d which result from the proposed restatements are not unique.
NOTE 2: In principle, it would be possible to explore the case when a is a superprimitive of p and p−1. As an example, 19 is a superprimitive of 47 and 23. However, not all primes have superprimitives modulo p and modulo p−1.
Refer to (15). Let V denote the set of integers υ and w (1≤υ, w≤p′−1) which are candidate solutions of (10), (12), and (15) and let |V| denote their number.
A) It is desired to represent Vas the direct product of distinct subsets of T; each one associated with one of the factors (qiε
B) It is desired to partition and process independently the corresponding sets of candidate solutions.
To reach these aims:
A) The number of significant candidate elements associated with each of such sets is φ(qiε
The candidate elements associated to φ(qiε
where σi denotes any primitive modulo qi and (λi, μi) denotes a pair of integers. Given σi, the pair (λi,μi) can be any one of the solution pairs of the following:
σi−1+μi·qiε
Given any solution pair ({tilde over (λ)}i, {tilde over (μ)}i), its substitution into (17) produces ρi modulo φ(p−1).
After this restatement, ρi is relatively prime to φ(p−1).
Consider the case when p′−1 has a structure of the form (2) or (3), that is
a) 5 is the smallest odd prime divisor of p′−1, and
b) each divisor qi is the smallest odd prime greater than qi−1.
Under these conditions, all the odd prime divisors of φ(p′−1), with the exception of 3, are also divisors of φ(p−1). It is possible to select σi in such a way that ρi is not a multiple of 3. In this case, piυ
Thus, when p′−1 has the structure of (8) and (10) and υ is relatively prime with φ(p−1) and 3, it is possible to represent υ and w as follows
where υi and wi denote integers defined modulo φ(e).
It will be
The congruences (20) define the orthogonality between ρi and ρj, for i≠j, and validate the definition of ρi offered by (17).
Notice that the definitions (17) imply that
In fact,
and also, for all positive integers n,
for some χi and ψi integers. Combining (22) and (23), (21) follows. Refer to Section I of the Appendix.
Using orthogonal primitives (17), consider raising (15) to
modulo p−1.
It will be
Let
Then
This congruence establishes a relationship between υi and wi which does not depend on any of the values of υi and wj, for i≠j. However, this relationship does not identify the value of v which is consistent with (6).
NOTE 1: a and d are primitives modulo p−1. Therefore, they are relatively prime with φ(p−1). When a or d are raised to a divisor of φ(p−1), such as φ(p−1)/qiε
respectively.
A superprimitive of p is defined as invertible if its inverse modulo p is also a superprimitive of p. In general, only some of the superprimitives are invertible. Table III shows the invertible superprimitives of the set of primes which are included in Tables I and II.
Consider the case when a denotes an invertible superprimitive, and let g denote its inverse modulo p. Then, for some integers υ and w, the conditions (10) and (12) take the following forms:
and
Therefore,
whence
aυ≡−1(mod(p−1)) (30)
or
a2·υ≡1(mod(p−1)). (31)
Similarly,
g2·w≡1(mod(p−1)). (32)
Then
2·υ≡0(mod φ(p−1)) (33)
and
2·w≡0(mod φ(p−1)). (34)
Thus,
Section II.1 describes how to select a superprimitive a. The algorithm proposed herein will require that a be an invertible superprimitive of p. This can be accomplished by raising a0 to an increasing integer pl>p{tilde over (l)}, until the desired condition is satisfied. (Step One).
After the definition of a, it will be necessary to transform (6) in such a way that the RHS be an invertible superprimitive of p, namely d. (Step Two and Three).
Thus, the proposed algorithm will operate on two invertible superprimitives of p, namely
1) a (invertible superprimitive)
2) d (invertible superprimitive)
Given the pair (a, d), to determine υ there are two conditions which must be satisfied.
A) The first condition is equation (14), which is defined modulo p−1.
B) A second condition on the pair (υ, w) is placed by the congruences (10) and (12), which are defined modulo p.
Consider the problem of solving the system of (10) and (12)
under the condition (14).
Define
Refer to Appendix II.
Substitute the second of (37) into (14). It will be
or
w=W·υ modulo φ(p−1).
Then the second of (37) becomes
Thus, the system (36) becomes
The original problem requires finding the solution of the first of (41).
1) a and d are two physical numbers and are independent on any modular transactions of which they may become a part. Specifically, if we say d=317, we mean that d denotes the number 317, not 317 modulo anything.
2) If υ were known, the transition from a to d could be executed by raising a to aυ modulo p.
3) Also, the transition from a to d can be executed by computing the discrete logarithm of d module p−1 in base a. To this end, define
aU(a,d)≡d(mod p−1). (42)
Refer to Section II of the Appendix.
4) The two bridges from a to d are defined modulo p−1 and produce the same transition.
They can be compared operating modulo p−1.
5) A different approach consists of considering the following integers:
These integers can be very large. In principle, their definition is independent of any modular transaction of which they may become a part. It is possible to substitute the pair (Ai, Di) into (41). It will be
The solution {tilde over (υ)}i of this congruence is unique.
NOTE 1: After the solution {tilde over (υ)}1 of (44) has been produced, the process must be repeated for all j≠i. Then υ can be computed using (19). The integer x follows, using (11) (9), (8) and (7).
Refer to (16) and (19). If ε0=2, the set of generators {pi|1≤i≤h} must be expanded to include the generator ρ0, 0 of a subgroup of V consisting of two elements. In this case (19) must be replaced by the following
Let σ0, 0 denote the primitive of a cycle of two elements modulo 2ε
σ0,0≡3(mod 22). (46)
Then, by (17),
Let
Given a solution pair ({tilde over (λ)}0, 0, {tilde over (μ)}0, 0) of (48), after substitution into (47),
ρ0, 0 modulo φ(p−1) follows.
It will be:
To determine the pair (υ0,0, w0,0), define
and
Then υ0, 0 is a solution of the following:
where υ0, 0 is either 0 or 1.
If ε0>2, X is not a cyclic group and there does not exist an integer σ0, 0 which generates a subgroup of V containing 2ε
As an example, if ε0=5, for any integer of the form ε0=4·ODD+1 it is
Refer to Section III of the Appendix.
As a result, if ε0>2, in order to produce 2ε
With this selection of σ0 and σ0,0 the product σ0,0υ
The integer ρ0 can be determined by letting
Since gcd
the integers λ0 and μ0 exist, and so does ρ0.
Likewise, p0,0 can be defined by letting
Then the general expression (17) of the integers υ and w must be restated as follows:
For 1≤i≤h it is still possible to produce primitives ρi which are orthogonal to each other and to ρ0. However, it is not possible to identify two values of ρ0,0 and ρ0 which are orthogonal to each other. In other words, there does not exist a primitive of X modulo ρ−1 which enables the restatement described in Section II. Therefore, after the determination of all pi, for 1≤i≤h, it is necessary to explore all the possibilities produced by ρ0,0 and ρ0. Since the order of ρ0,0 is 2, two sets of circumstances must be considered.
In general, the elements of X can be grouped into two sets, namely X0 and X1, which correspond to the cases when υ0, 0=0 and υ0, 0=1, respectively.
If υ0,0=0, the number of elements in V is
Compare with (16).
In this case X0 is a cyclic group and there exist integers p which are primitive roots of X0 modulo p−1. Let Y0 denote the set of primitive roots of X0 modulo p−1. If p∈Y0, let A0 denote the set of primitive roots of p which are produced by letting
For some integers Ĩ, a will also be an element of Y0. In these cases
Let σ0 denote a primitive root of X0 modulo 2ε
In this case, define
and
Then
As an example, if ε0=6 and 2ε
Since X0 is a cyclic group, let Y0 denote the set of primitive roots of X0 modulo 2ε
Y0={5,61,53,45,37,29,21,13}. (66)
Also, define Y1 as the set of elements produced when all the elements of Y0 are multiplied by σ0, 0. In the example, it will be
NOTE 1: In the example, 31 and 63 are the only elements of X1 for which 312 ≡1(mod 64) and 632≡1(mod 64).
NOTE 2: In the example, any element of Y0, when raised to 31 modulo 64, produces another elements of Y0. In fact, gcd (31, 32)=1 and gcd (31, 64)=1. Thus,
The solution υ0 can be determined using the procedure defined by (64).
After the determination of υ0, the algorithm should proceed to the determination of the candidate values of υi, for 1≤i≤h.
If the resulting value of υ is not consistent with (6), the assumption υ0, 0=0 must be discarded and the case υ0, 0=1 must be considered.
Consider first the case when a∈A0. Then
and d∈A0.
Define A1 as the set of primitives modulo p which are not elements of A0. One example is
which implies that
Notice that ā is a primitive modulo p because gcd (ρ0, 0, p−1)=1.
Given ā, all the elements of A1 can be produced by raising ā to the elements of X0. Notice that, after the introduction of ā∈A1, operating in A1 follows the same procedures which were used operating in A0 using a∈A0. Thus the definition of ā given a can be used to produce all of the elements of Ai by raising ā to any element of X0. In particular, consider the case when ā is raised to ā modulo p. Since a is an element of X0 and Y0, ā is an element of Y0∩A1.
Refer to NOTE 2 in Section 4 above.
The same observation can be made about
whence
Raising a and d to φ(p−1)/2ε
Compare with (26).
The procedures which were used to produce υ0 and v, can be repeated.
The procedures described in Sections III through VII above were designed to determine v given p and the pair (a, d). The integer υ is related to x through (11), (9), (8) and (7) that is through ū, t, s, and
To determine the execution time of the proposed algorithm, note that each one of such operations as multiplication, exponentiation, calculation of inverses and solution of linear congruences has an execution time not exceeding log2 m, where m is the modulus of the operation. Also, the number of operations to be executed modulo p or modulo p′ is of the order of log log p. Therefore, the total execution time is of an order which does not exceed log log p·log2 p.
Let
ax≡b(mod 71), (A.1)
where a and b are primitive roots modulo 71.
Then x is an element of the set X, containing all the integers which are relatively prime to p−1=70=2·5·7.
The order of X is φ(70)=φ(5)·φ(7)=24. The exponent of X is e(X)=1 cm (4, 6)=12. Then X can be described as the direct product of a cyclic subgroup of order 2 and a cyclic subgroup of order 12 as follows:
X=C1(2)×C2(12). (A.2)
Also, the elements of X can be represented by using orthogonal primitives. In this case, given a selection of σ1(mod 7) and σ2(mod 5), ρ1(mod 70) and ρ2(mod 70) can be computed by letting
and
For σ1≡5(mod 7) and σ2≡3(mod 5), it will be ρ1≡61(mod 70) and ρ2≡43(mod 70). Then
x≡61x
It is apparent that the elements on a vertical line (constant x1) are congruent to one another modulo 14=2·7. Likewise, the elements on a horizontal line are congruent to one another modulo 2·5=10.
Also, each elements of X is a product of its horizontal and vertical components. Thus, 67≡11·57(mod 70).
Different selections of the primitives σ1 and σ2 would cause appropriate permutations of the vertical and horizontal lines, respectively.
Observe that, by (A.3) and (A.4),
Therefore, raising (A.1) to 10 (modulo 71) yields
Likewise, raising (A.1) to 14 (modulo 71) yields
Therefore, in the example, x2 and x1 can be determined independently of each other.
The congruence (14) defines the relationship between aυ and dw which is repeated here:
aυ·dw≡1(mod p−1). (75)
It is convenient to develop a simple relationship between the integers a and d which does not refer to the variations of the pair (υ, w). Specifically, when υ=1 or w=1, such a relationship can be stated as
or
Notice that
U·W≡1(mod ω(p−1)). (78)
To develop U and W, it is convenient to represent υ and w using (19) and to partition the problem as in (26), which is repeated here:
Let wi, m denote the value of wi when υi=0(mod φ(qiε
Likewise, let υi, m denote the value of υi when wi ≡0(mod φ(qiε
Consider the case when all the υj's are congruent to zero modulo φ(qiε
Let
Then
a≡d−W(mod p−1). (A.13)
Likewise, consider the case when all the wj's are congruent to zero modulo φ(qjε
Let
Then
aU≡d−1(mod p−1). (A.16)
When σ0=4·ODD+1, the order of σ0 modulo 2ε
Consider the case when σ0=4·ODD+1. Then
(k, k1, k2 integers).
Notice that the integer σ0,0 ≡−1+2ε
There exist several variations of encryption systems based on the difficulty of computing discrete logarithms modulo a prime. In the core system the participants share the knowledge of a prime p and one of its primitives, usually denoted as a. All the participants publish their own address cP, which they compute as cP=am
Any participant who wishes to communicate confidentially with any other participant, say with participant B, transmits to the addressee B a pair of integers denoted as (R, S), where
where r is a random number selected by the sender.
The receiver retrieves the message by computing
The only other persons who can retrieve the message are the persons who know mB or can compute mB as the discrete logarithm of cB in base a.
Although the invention has been described in detail in the foregoing embodiments for the purpose of illustration, it is to be understood that such detail is solely for that purpose and that variations can be made therein by those skilled in the art without departing from the spirit and scope of the invention except as it may be described by the following claims.
This is a continuation-in-part of U.S. patent application Ser. No. 14/886,404 filed Oct. 19, 2015, which claims priority from U.S. provisional application Ser. No. 62/181,322 filed on Jun. 18, 2015, both of which are incorporated by reference herein.
Number | Name | Date | Kind |
---|---|---|---|
7076061 | Lenstra | Jul 2006 | B1 |
20030191946 | Auer | Oct 2003 | A1 |
20070118746 | Lauter | May 2007 | A1 |
20070192622 | Futa | Aug 2007 | A1 |
20080072055 | Volkovs | Mar 2008 | A1 |
20100046741 | Isogai | Feb 2010 | A1 |
20100046746 | Yonemura | Feb 2010 | A1 |
20120311005 | Cheon | Dec 2012 | A1 |
Entry |
---|
Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, Peter W. Shor, IEEE (Year: 1994). |
Number | Date | Country | |
---|---|---|---|
62181322 | Jun 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14886404 | Oct 2015 | US |
Child | 15875737 | US |