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 10:30
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
You know the right answer?
Project 3 (El Gamal Cryptosystem): The El Gamal cryptosystem, named after its inventor, Taher El Gam...
Questions
question
Mathematics, 17.04.2020 00:28
Questions on the website: 13722359