

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS 6260: Applied Cryptography November 20, 2008
Lecturer: Sasha Boldyreva Due: December 2, 2008
Problem 7.1, 15 points. Assume a public-key encryption scheme for single-bit messages (i.e. the message space is { 0 , 1 }. Show that, given a public key pk and a ciphertext c computed by encrypting a random message m under pk, it is possible for an unbounded adversary to determine m with probability 1. (That shows that perfectly-secret public-key encryption is impossible.)
Problem 7.2, 30 points. We define a digital signature scheme DSk,l = (K, S, V) which has two parameters: an integer k (the RSA modulus size) and an integer l. The message space for the scheme is { 0 , 1 }l. For any l-bit message M let Mj denote its j-th bit, for j = 1,... , l. Then the key generation, signing and verifying algorithms are as follows:
Algorithm K (N, e), (N, d) $ ← Krsa For b = 0, 1 do For j = 1,... , l do Y [b, j] $ ← Z∗ N EndFor EndFor Return (N, e, Y ), (N, d, Y )
Algorithm S(N,d,Y )(M ) For j = 1,... , l do X[j] ← (Y [Mj , j])d^ mod N EndFor Return X
Algorithm V(N,e,Y )(M, X) flag← 1 For j = 1,... , l do If (X[j])e^ mod N 6 = Y [Mj , j] Then flag← 0 EndIf EndFor Return flag
Here Krsa is the standard RSA key generation algorithm. The public scheme of our scheme consists of the RSA modulus N , the RSA public exponent e, and a 2 by l array Y each of whose entries is a random point in Z∗ N. The secret key is the RSA modulus N , the RSA secret exponent d, and the same array Y. The size of N is k bits. The signature of M is a one-dimensional array X of size l consisting of pre-images under RSAN,e of certain points in the two-dimensional array Y , one per column of Y , the choice of which row being made according to the corresponding bit in the message.
Here is a picture for l = 4. On the left it pictures the array Y. On the right it pictures how you can think of the signature X of message M = 1001, namely as the inverses of certain points in the array on the left.
Y[0,1] Y[0,2] Y[0,3] Y[0,4] X[2] X[3] Y[1,1] Y[1,2] Y[1,3] Y[1,4] X[1] X[4]
(a) [10 points] Show that this scheme is not UF-CMA secure. You adversary has to have uf-cma - advantage 1 and make at most two queries to the signing oracle.
(b) [20 points] Show that this scheme is uf-cma secure as long as the adversary makes at most one query to its signing oracle, and RSA is one-way. More precisely, show that for any adversary F who attacks uf-cma security of DS and makes at most one query to the signing oracle there exists an adversary I who attacks one-wayness of RSA such that
Advuf-cma DSk,l (F ) ≤ 2 l · Advow-kea Krsa (I) and you will have to specify I’s resources as a function of k, l and the resources of F.
Problem 7.3, 20 points. In class we studied the ElGamal signature scheme (see the slides). In the original version of the ElGamal signature scheme the message space was Zq, there was no hash function, and instead of H(M ‖Y ), the message M itself was used. Show that the original version is not uf-cma secure.