• Keine Ergebnisse gefunden

Algorithmic Cryptography

N/A
N/A
Protected

Academic year: 2022

Aktie "Algorithmic Cryptography"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Walter Unger WS 2017/2018

Janosch Fuchs December 21, 2017

Exercise

Algorithmic Cryptography

Sheet 9

• Write the name, group number and enrollment number of each group member on every sheet that you hand in.

• To achieve the permission for the exam you must earn50% of the sum of all points and present one of your solutions at least once.

• You can earn 50% bonus points by presenting your solution. At the beginning of every exercise session, you can mark the exercises that you want to present.

• If a student is not able to present a correct solution although he/she marked the exercise as presentable, he/she will lose all of his/her points on the exercise sheet.

Exercise 9.1 (4 points)

Noticing the successes of Knud Knudson’s ideas for election protocols, he was invited to give the keynote talk at the respected SUPER (Symposium on Unknown Protocols for Election and Randomness) conference in Turitg, Svizra. One of the talks at the conference aroused Knud Knudson’s interest, an election protocol for yes/no votes where each voter can give a positive or negative vote or he can abstain. After the election only the result (yes or no) is revealed, but the number of positive and negative votes and abstentions stays secret. Unfortunately, Knud Knudson cannot remember the details of the protocol and, since he is not a computer scientist, he is not able to implement it. On the other hand, he has heard on the conference that a group of students from Aoke has studied a similar protocol in a lecture about cryptography. Can you design the protocol for Knud Knudson?

Exercise 9.2 (4 points)

After the conference, Knud Knudson prepares his equipment for the next expedition to the North Pole. His colleagues gave Knud Knudson for an analysis of the Ocean current a prime number p, n generators g1, . . . , gn of Zp, and n numbers y1, . . . , yn ∈ Zp with yi =gixi modp for somexi not known by Knud Knudson. Knud Knudson knows that if there is a pair(yi, yj), i6=j for that the samexwas used, then the numbers will conflict with each other and cannot be used for the analysis.

Give an algorithm, that computes all pairs (yi, yj), i 6= j such that yi = gxi modp and yj =gjx modpfor the same x.

(2)

Exercise 9.3 (4 points) After Knud Knudson’s arrival at the North Pole, the Inuit told him that there is the Treasure of the Unknown Harbor Seal near the Geographic North Pole. In order to find it, Knud Knudson has to discover the coordinates of the Stones of the Average, each given by a point (xi, yi), i ∈ {1, . . . , n}. The treasure is located at the average point of them, i.e., at 1n·Pn

i=1xi,n1 ·Pn i=1yi

.

Unfortunately, Knud Knudson’s mental calculation skills do not allow him to calculate the average point using only his brain. So he uses his new Peach yPhone, which has a connection to a server that can compute complicated calculations. As a result of a misapprehension, the vendor sent Knud Knudson a smartphone that can save only one point at the same time. So Knud Knudson must use the server to do the computation.

But he does not trust the server operator. So he does not want that the server can see any point or the result. Hence, the computation has to be done using encrypted data.

Can you design a protocol that guarantees Knud Knudson’s privacy requirements? The Inuit gave Knud Knudson a machine that can compute the discrete logarithm efficiently, i.e., given a prime number p, a generator g ofZp, and ay∈Zp, it can compute a x∈Zp

with y≡gx modp.

Exercise 9.4 (4 points)

Construct an election protocol for the following problem:

LetK1,K2, andK3 be three candidates. The candidate with the most votes wins (absolute majority). The result of the vote must not be revealed, but it must be possible for the winner that he can convince the voters of being elected. Do not use a trusted center.

Merry Christmas and a Happy New Year!

Deadline:Thursday, January 11, 2018, 10:15 a.m.,

in the lecture or in the box in front of the i1.

Referenzen

ÄHNLICHE DOKUMENTE

• If a student is not able to present a correct solution although he/she marked the exercise as presentable, he/she will lose all of his/her points on the exercise sheet. Exercise

As a result of a misapprehension, the vendor sent Knud Knudson a smartphone that can save only one point at the same time.. So Knud Knudson must use the server to do

Definition: Three paths are vertex-disjoint if the intersection of the vertex sets of the paths without the start and end vertex is empty?. Exercise 5.4

I want to present the exercises marked in the following table in the tutorial. Each mark gives two points if you are present in the tutorial and your solution is good (at least

I want to present the exercises marked in the following table in the tutorial. Each mark gives two points if you are present in the tutorial and your solution is good (at least

I want to present the exercises marked in the following table in the tutorial. Each mark gives two points if you are present in the tutorial and your solution is good (at least

After Knud Knudson’s arrival at the North Pole, the Inuit told him that there is the Treasure of the Unknown Harbor Seal near the Geographic North Pole.. So he uses his new

A candidate wins the election if he gets at least 50% of the votes (absolute majority) and if he gets at least 10% of each group (veto of group A or B).. Each voter can vote for one