Number Theory Question - Discrete Log mod (pq)^2.

In summary, the problem is to show that the discrete log problem base g is easy in Z_{N^2}, where g has the form of aN + 1, by using the properties of g and breaking the problem into two terms in Z_N and Z_N^2.
  • #1
Chu
10
0
Hello all, here is a problem I am working on that is giving me some problems.

p,q, and N are defined as in RSA i.e.
{p,q} in (Z_p,*), N = pq

a in (Z_n,*)
g in (Z_{N^2}) s.t. g=aN+1 mod N^2

The problem is to show that the discrete log problem base g is easy in Z_{N^2}, i.e. :

given {g,c} s.t. c=g^x mod N^2, solve for x.

I've been messing around with this problem for quite a bit, and I assume that the solution has something to do with the form of g since along the way I proved (very informally) that this is NOT true for a general g*. Any further nudge in the right direction would be GREATLY appreciated.

-Chu

*assuming the discrete log problem is hard in Z_p of course
 
Physics news on Phys.org
  • #2
.Since g has the form of aN + 1, you can use the fact that aN = -1 mod N^2 to rewrite c as:c = (-1)^x * (aN + 1)^x mod N^2Since (-1)^x is just 1 or -1, this reduces to:c = (-1)^x * a^xN + 1 mod N^2Now since a is in Z_N and N^2 is a multiple of N, we can break this up into a product of two terms, one in Z_N and one in Z_N^2:c = a^xN * (-1)^x + 1 mod N^2Since this is a product of two terms, we can solve for x by taking the logarithm of both sides:x = log_a(c-1) + log_a(-1) mod NSince the discrete logarithm problem is assumed to be hard in Z_N, this gives us the solution to the problem.
 
  • #3


First, let's break down the problem into smaller parts. We know that the discrete log problem is easy in Z_p, so let's focus on the part where g is in Z_{N^2}. We also know that g = aN+1 mod N^2, so let's substitute that into the equation c=g^x mod N^2. We get c = (aN+1)^x mod N^2. Now, we can use the properties of modular arithmetic to simplify this further. We know that (a+b)^x mod N^2 = a^x mod N^2 + b^x mod N^2, so we can rewrite our equation as c = (a^x mod N^2) * (N^x mod N^2) mod N^2 + 1^x mod N^2. Since N^x mod N^2 will always be 0, we can simplify this to c = a^x mod N^2 + 1. Now, we can use the fact that the discrete log problem is easy in Z_p to solve for x in the equation a^x mod N^2 = c-1. This means that we can easily find the discrete log of g in Z_{N^2}. I hope this helps and gives you a nudge in the right direction. Good luck!
 

FAQ: Number Theory Question - Discrete Log mod (pq)^2.

What is Number Theory?

Number Theory is a branch of mathematics that deals with the properties and relationships of numbers, particularly integers. It is a broad topic that covers concepts such as prime numbers, divisibility, and modular arithmetic.

What is a Discrete Log?

A discrete log is a mathematical function that is used to solve problems in number theory and cryptography. It is defined as the inverse of exponentiation, where the logarithm of a number is the power to which another fixed number, called the base, must be raised to produce that number.

What is "mod" in Number Theory?

"Mod" stands for "modulo" and is used in modular arithmetic, which is a way of working with remainders. For example, if we say 7 mod 3, the answer would be 1 because when 7 is divided by 3, the remainder is 1.

What does (pq)^2 represent in the Discrete Log mod (pq)^2 question?

(pq)^2 represents a number that is the product of two prime numbers, p and q, squared. It is used in the discrete log problem to create a more complex and difficult equation to solve.

Why is Number Theory important in cryptography?

Number Theory plays a crucial role in cryptography because it provides the mathematical foundations for many encryption algorithms. For example, the security of many popular encryption methods, such as RSA and Diffie-Hellman, relies on the difficulty of solving certain number theory problems, such as the discrete log problem.

Similar threads

Replies
1
Views
916
Replies
3
Views
954
Replies
1
Views
607
Replies
1
Views
1K
Replies
10
Views
2K
Replies
7
Views
2K
Replies
1
Views
592
Back
Top