Docsity

Homework 2 Problems - Applied Cryptography | CS 6260, Assignments of Cryptography and System Security

Toggle sidebar
bg1
CS 6260: Applied Cryptography September 4, 2008
Homework 2
Lecturer: Sasha Boldyreva Due: September 11, 2008
Recommended reading is Chapter 3 from the lecture notes of Bellare and Rogaway.
Problem 2.1, 20 points. Let F:{0,1}k× {0,1}n→ {0,1}nbe a secure PRF.
Consider the following function families
1. F1:{0,1}k×{0,1}2n→ {0,1}2nspecified for all x1, x2∈ {0,1}nand K∈ {0,1}k
by F1(K, x1kx2) = F(K, x2)kF(K, x1)
2. F2:{0,1}k× {0,1}n→ {0,1}nspecified for all x∈ {0,1}nand K∈ {0,1}kby
F2(K, x) = F(K, x)
3. F3:{0,1}k× {0,1}n→ {0,1}2nspecified for all x∈ {0,1}nand K∈ {0,1}kby
F3(K, x) = F(K, x)kF(K, x)
4. F4:{0,1}k× {0,1}n−1→ {0,1}2nspecified for all x∈ {0,1}n−1and K∈ {0,1}k
by F4(K, x) = F(K, 0kx)kF(K, 1kx)
5. F5:{0,1}k× {0,1}n→ {0,1}nspecified for all x∈ {0,1}nand K∈ {0,1}kby
F5(K, x) = F(K, F (K , x))
Above xkymeans concatenation of xand y, and xmeans bitwise complement of
x.
For each of the four function families state whether or not it is a secure PRF. If
yes, provide a reduction proof 1. If no, provide an attack. In either case don’t forget
to analyze the adversaries you construct.
1Follow the same proof structure as the one was used in class to show that for any block cipher
E, if it is PRP-CCA, then it is PRP-CPA.

Partial preview of the text

Download Homework 2 Problems - Applied Cryptography | CS 6260 and more Assignments Cryptography and System Security in PDF only on Docsity!

CS 6260: Applied Cryptography September 4, 2008

Homework 2

Lecturer: Sasha Boldyreva Due: September 11, 2008 Recommended reading is Chapter 3 from the lecture notes of Bellare and Rogaway. Problem 2.1, 20 points. Let F : { 0 , 1 }k^ × { 0 , 1 }n^ → { 0 , 1 }n^ be a secure PRF. Consider the following function families

  1. F 1 : { 0 , 1 }k^ ×{ 0 , 1 }^2 n^ → { 0 , 1 }^2 n^ specified for all x 1 , x 2 ∈ { 0 , 1 }n^ and K ∈ { 0 , 1 }k by F 1 (K, x 1 ‖x 2 ) = F (K, x 2 )‖F (K, x 1 )
  2. F 2 : { 0 , 1 }k^ × { 0 , 1 }n^ → { 0 , 1 }n^ specified for all x ∈ { 0 , 1 }n^ and K ∈ { 0 , 1 }k^ by F 2 (K, x) = F (K, x)
  3. F 3 : { 0 , 1 }k^ × { 0 , 1 }n^ → { 0 , 1 }^2 n^ specified for all x ∈ { 0 , 1 }n^ and K ∈ { 0 , 1 }k^ by F 3 (K, x) = F (K, x)‖F (K, x)
  4. F 4 : { 0 , 1 }k^ × { 0 , 1 }n−^1 → { 0 , 1 }^2 n^ specified for all x ∈ { 0 , 1 }n−^1 and K ∈ { 0 , 1 }k by F 4 (K, x) = F (K, 0 ‖x)‖F (K, 1 ‖x)
  5. F 5 : { 0 , 1 }k^ × { 0 , 1 }n^ → { 0 , 1 }n^ specified for all x ∈ { 0 , 1 }n^ and K ∈ { 0 , 1 }k^ by F 5 (K, x) = F (K, F (K, x)) Above x‖y means concatenation of x and y, and x means bitwise complement of x. For each of the four function families state whether or not it is a secure PRF. If yes, provide a reduction proof 1. If no, provide an attack. In either case don’t forget to analyze the adversaries you construct.

(^1) Follow the same proof structure as the one was used in class to show that for any block cipher E, if it is PRP-CCA, then it is PRP-CPA.