subject
Computers and Technology, 01.07.2020 15:01 megaboy

Though the RSA cryptosystem is a widely popular public key encryption scheme, anotherwell known public-key scheme is the ElGamal encryption scheme. ElGamal uses the hardnessof the discrete log problem (DLOG) just like Diffie-Hellman does, in order to construct anasymmetric encryption scheme (rather than a key-exchange scheme). Described below is the process of how Bob can send Alice a message encrypted under Alice’s public key. Assume alloperations happen with a large primepand generator g. • Alice chooses a private key a + {1,...,p - 1} and sends A = ga mod p to Bob. A comprises Alice's public key.
• Bob chooses a private key b+ {1,...,p – 1}. He computes B = gº mod p.
• Bob also computes the shared key k = A= gab mod p.
• Bob chooses a message me {1,...,p- 1} to send to Alice. He computes M = m . k = m. kab mod p and send Alice the ciphertext (B. M).
A) Bob is helping Alice out with the 376 homework, so he wants to send her a hint encrypted using the ElGamal encryption scheme. When Alice receives a ciphertext from Bob, explain how she can recover the plaintext hint m efficiently.
B) The security of the ElGamal scheme relies on the security of Diffie-Hellman. Explain how, if an attacker can efficiently find the plaintext messages from their ciphertexts (encrypted using ElGamal), then they can break the Diffie-Hellman protocol (i. e. compute gab mod p efficiently given p, g, gÂş mod p, and gÂş mod p).
C) Optional bonus: Alice wants to help out her friend Charlie with the homework, so she tells Charlie the hint m that Bob sent her. However, Charlie is secretly malicious and wants Bob to give him all the answers! Assuming that Alice and Bob continue to use the same shared key for future interactions, how can Charlie read all of their future messages?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
You know the right answer?
Though the RSA cryptosystem is a widely popular public key encryption scheme, anotherwell known publ...
Questions
question
Mathematics, 23.08.2019 23:00
question
Mathematics, 23.08.2019 23:00
question
Mathematics, 23.08.2019 23:00
question
Social Studies, 23.08.2019 23:00