subject

Project 3 (El Gamal Cryptosystem): The El Gamal cryptosystem, named after its inventor, Taher El Gamal, is a public-key cryptosystem that uses randomization, so that independent encryptions of the same plaintext are likely to produce different ciphertexts. It is based on viewing input blocks as numbers and applying arithmetic operations on these numbers to perform encryption and decryption. As a part of the setup, Bob chooses a random number x between 1 and p – 2, and computes y = g x mod p. The number x is Bob’s secret key. His public key is the triple (p, g, y). When Alice wants to encrypt a plaintext message M for Bob, she begins by getting his public key (p, g, y). She, then, generates a random number k between 1 and p – 2, and she then uses modular multiplication and exponentiation to compute two numbers: a = g k mod p b = My k mod p The encryption of M is the pair (a, b). Given an El Gamal ciphertext (a, b) created for Bob, he can decrypt this ciphertext by computing a x mod p, computing the inverse of this value modulo p, and multiplying the result by b, modulo p. This sequence of computations gives Bob the following: M = b(a x ) –1 mod p The reason this actually decrypts the ciphertext is as follows: b(a x ) –1 mod p = My k (g kx) –1 mod p = M(g x ) k g –kx mod p = Mg xk g –kx mod p = M mod p = M

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
How can i clip a picture to a question on the computer?
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. centurion: a commander in the army of ancient rome. keyword: picture:
Answers: 2
question
Computers and Technology, 22.06.2019 18:10
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
You know the right answer?
Project 3 (El Gamal Cryptosystem): The El Gamal cryptosystem, named after its inventor, Taher El Gam...
Questions
question
Medicine, 20.10.2020 18:01
question
Mathematics, 20.10.2020 18:01
question
Business, 20.10.2020 18:01
Questions on the website: 13722367