(encryption): Elgamal public key cryptosystem Start with the prime p 17 and the primitive root g = 3. = Alice sends Bob the public key A = 5. Bob wants to send the message m = = 13 to Alice. Bob chooses the random element k = 2. Using the Elgamal public key cryptosystem, compute the pair of numbers (C₁, C₂) that Bob sends to Alice. Note: Do not work out how Alice computes the plaintext message m from the ciphertext (C₁, C₂).
(encryption): Elgamal public key cryptosystem Start with the prime p 17 and the primitive root g = 3. = Alice sends Bob the public key A = 5. Bob wants to send the message m = = 13 to Alice. Bob chooses the random element k = 2. Using the Elgamal public key cryptosystem, compute the pair of numbers (C₁, C₂) that Bob sends to Alice. Note: Do not work out how Alice computes the plaintext message m from the ciphertext (C₁, C₂).
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
![### Elgamal Public Key Cryptosystem (Encryption)
**Introduction:**
In this example, we will perform an encryption using the Elgamal public key cryptosystem. Here are the given parameters:
- Prime \( p = 17 \)
- Primitive root \( g = 3 \)
- Alice's public key \( A = 5 \)
- Bob’s message to Alice \( m = 13 \)
- Random element chosen by Bob \( k = 2 \)
**Steps:**
1. **Setup:**
Bob wants to send the message \( m = 13 \) to Alice. To do this, he will use the Elgamal encryption method.
2. **Step 1: Calculate \( c_1 \):**
\[
c_1 = g^k \mod p
\]
Substitute the values:
\[
c_1 = 3^2 \mod 17 = 9
\]
3. **Step 2: Calculate \( c_2 \):**
\[
c_2 = m \cdot A^k \mod p
\]
Substitute the values, and calculate \( A^k \mod p \):
\[
A^k = 5^2 = 25 \mod 17 = 8
\]
Then,
\[
c_2 = 13 \cdot 8 \mod 17 = 104 \mod 17 = 2
\]
4. **Result:**
The pair of numbers \( (c_1, c_2) \) that Bob sends to Alice is:
\[
(c_1, c_2) = (9, 2)
\]
**Note:**
This problem only requires the encryption part of the Elgamal cryptosystem. Therefore, the decryption step has been omitted.
By following these steps, Bob successfully encrypts his message using the Elgamal public key cryptosystem.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc06c0cac-2e9c-4d45-9a45-e5decd8c209b%2Fb04ceeb0-299e-4997-8e3e-4b29a83f735b%2Fc13w1d_processed.png&w=3840&q=75)
Transcribed Image Text:### Elgamal Public Key Cryptosystem (Encryption)
**Introduction:**
In this example, we will perform an encryption using the Elgamal public key cryptosystem. Here are the given parameters:
- Prime \( p = 17 \)
- Primitive root \( g = 3 \)
- Alice's public key \( A = 5 \)
- Bob’s message to Alice \( m = 13 \)
- Random element chosen by Bob \( k = 2 \)
**Steps:**
1. **Setup:**
Bob wants to send the message \( m = 13 \) to Alice. To do this, he will use the Elgamal encryption method.
2. **Step 1: Calculate \( c_1 \):**
\[
c_1 = g^k \mod p
\]
Substitute the values:
\[
c_1 = 3^2 \mod 17 = 9
\]
3. **Step 2: Calculate \( c_2 \):**
\[
c_2 = m \cdot A^k \mod p
\]
Substitute the values, and calculate \( A^k \mod p \):
\[
A^k = 5^2 = 25 \mod 17 = 8
\]
Then,
\[
c_2 = 13 \cdot 8 \mod 17 = 104 \mod 17 = 2
\]
4. **Result:**
The pair of numbers \( (c_1, c_2) \) that Bob sends to Alice is:
\[
(c_1, c_2) = (9, 2)
\]
**Note:**
This problem only requires the encryption part of the Elgamal cryptosystem. Therefore, the decryption step has been omitted.
By following these steps, Bob successfully encrypts his message using the Elgamal public key cryptosystem.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education