Can I calculate the (multiplicative) inverse of any element in a cyclic group?

Click For Summary

Homework Help Overview

The discussion revolves around the properties of cyclic groups, particularly in the context of the ElGamal public key cryptosystem. The original poster is exploring the calculation of the multiplicative inverse of elements within a cyclic group of prime order.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand the conditions under which the inverse of an element can be calculated, referencing properties of cyclic groups and exponentiation. Some participants question the assumptions made about the group structure and the implications of Fermat's theorem on the calculations.

Discussion Status

Participants are actively engaging with the original poster's reasoning, providing clarifications and exploring the implications of group order and structure. There is a recognition of differing interpretations regarding the properties of the group and the calculation of inverses.

Contextual Notes

There is an ongoing discussion about the nature of the group in question, particularly whether it is cyclic and the implications of its order being prime. The original poster expresses uncertainty about their understanding of these concepts.

Troff
Messages
2
Reaction score
0

Homework Statement


The original problem has to do with telling messages encrypted with a version of the ElGamal public key crypto system apart. It relies on exponentiation in an arbitrary cyclic group G of prime order p with generator g. The public key is [tex]y = g^x[/tex] where x is the private key.

Homework Equations





The Attempt at a Solution


Well - I don't actually want help finding a solution to the original problem, but the solution that I do have relies on the ability to calculate [tex]y^{-1}[/tex]. As far as I can tell [tex]\forall x \in G: x^{p} = 1[/tex], which would seem to imply that [tex]\forall x \in G: x^{p-1} = x^{-1}[/tex]. Either this is wrong in which case I'd like to understand what I'm missing or I am doing something wrong somewhere else, which I'd then correct or fail myself.
 
Physics news on Phys.org
Almost right. Fermat's theorem tells you x^p mod p is x. Not 1. The group actually has p-1 elements in it.
 
Yes, but the order of the group is what is given and I can't assume that we're in [tex]\mathbb{Z}^*_p[/tex] so modular arithmetic and Fermat's theorem seem to be an isomorphism away (at least). But apart from the exact value of the exponent you seem to agree that it's possible to efficiently calculate the inverse.
 
Right. I was thinking of multiplicative Z_p. In that case I agree. x^(p-1) is the inverse of x where p is the order of the group. In fact, I don't think you even need to assume G is cyclic or that p is prime for that.
 
Last edited:

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K