In Elgamal cryptosystem, given the prime p=31. Encrypt the message “HELLO”; use 00 to 25 for encoding. The value of C2 for character ‘L’ is

In Elgamal cryptosystem, given the prime p=31. Encrypt the message “HELLO”; use 00 to 25 for encoding. The value of C2 for character ‘L’ is Correct Answer 27

n:The Common factor for the calculation of C2 is e7 mod 31 = 257 mod 31 = 25. P = “L” = 11; C1 = 37 mod 31 = 17; C2 = 11 x 25 mod 31 = 27; C = (17,27).

Related Questions

In the question below, are given a statement followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the suggested courses of action logically follow(s) for pursuing. Statement: With just two days to go for the second edition of Amazon Prime Day, the e-commerce giant has been keeping its loyalists busy with a seven-day entertainment marathon. Started on July 10 with the release of Amitabh Bachchan starrer '102 Not Out', Amazon has been dropping one title every day for its Prime members. With Video and Music, Amazon clearly wants to showcase that Prime day is not merely about products. Courses of action: I. Building on the success of its previous sales, Amazon is gearing up for a bigger event, with extra perks for its Prime members in the form of quality video and music content - and not just early access and quicker deliveries. II. Started on July 3, Prime members who play three songs from the millions on Amazon Prime Music stand a chance to win an Echo Dot every day, with two winners announced daily. III. With Raazi and Transformers: The Last Night slated for release in the next two days, members already have access to Dunkirk, Telugu hit Officer as well as Prime Original show, Comicstaan - a reality TV show to find India's next stand-up comedy star.
What will be the output of the following PHP code ?