How can we find the decrypted message?

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on decrypting a message encrypted using the ElGamal cryptosystem with the public key parameters $(p, g, y)=(53, 2, 27)$ and the ciphertext $(15, 34)$. The original message can be expressed as \( m = \frac{34}{15^a} \), where \( a \) is the private key of user $A$. The private key can be derived by solving the equation \( 27 = 2^x \mod 53 \), which represents the relationship between the public and private keys in the ElGamal system.

PREREQUISITES
  • Understanding of ElGamal encryption and decryption processes
  • Knowledge of modular arithmetic and discrete logarithms
  • Familiarity with public key cryptography concepts
  • Ability to solve equations involving modular exponentiation
NEXT STEPS
  • Learn how to compute discrete logarithms in modular arithmetic
  • Study the mathematical foundations of the ElGamal cryptosystem
  • Explore algorithms for efficient decryption in public key systems
  • Investigate the implications of key sizes on cryptographic security
USEFUL FOR

Cryptography students, security researchers, and software developers interested in understanding public key encryption methods and their practical applications.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

Let's suppose that $A$ uses the encryption system of ElGamal with with public key $(p, g, y)=(53, 2, 27)$. $B$ sends to $A$ the encrypted message $(15, 34)$. Find the original message.

We have that $r=15, y=g^a, y^k=g^{ak}=r^a, c=m \cdot y^k=34$.

$$m=\frac{c}{r^a}=\frac{34}{15^a}$$

How can we continue?? (Wondering)

We are not given the private key of $A$, are we??

So, is the answer a function of $a$??
 
Mathematics news on Phys.org
mathmari said:
Hey! :o

Let's suppose that $A$ uses the encryption system of ElGamal with with public key $(p, g, y)=(53, 2, 27)$. $B$ sends to $A$ the encrypted message $(15, 34)$. Find the original message.

We have that $r=15, y=g^a, y^k=g^{ak}=r^a, c=m \cdot y^k=34$.

$$m=\frac{c}{r^a}=\frac{34}{15^a}$$

How can we continue?? (Wondering)

We are not given the private key of $A$, are we??

So, is the answer a function of $a$??

Hi mathmari,

The ElGamal cryptosystem as all other public key cryptosystems has a relationship between the public key and the private key. Note that,

\[27=y=g^x=2^x\mbox{ (mod }53)\]

We can calculate the value of $x$ which is the secret key. Although in practice the values will be larger and calculating the discrete logarithms are hard.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K