Foundation of Cryptography (0368-4162-01), Lecture 4 Pseudorandom - - PowerPoint PPT Presentation

foundation of cryptography 0368 4162 01 lecture 4
SMART_READER_LITE
LIVE PREVIEW

Foundation of Cryptography (0368-4162-01), Lecture 4 Pseudorandom - - PowerPoint PPT Presentation

Function Families PRF from OWF PRP from PRF Applications Foundation of Cryptography (0368-4162-01), Lecture 4 Pseudorandom Functions Iftach Haitner, Tel Aviv University November 29, 2011 Function Families PRF from OWF PRP from PRF


slide-1
SLIDE 1

Function Families PRF from OWF PRP from PRF Applications

Foundation of Cryptography (0368-4162-01), Lecture 4

Pseudorandom Functions Iftach Haitner, Tel Aviv University November 29, 2011

slide-2
SLIDE 2

Function Families PRF from OWF PRP from PRF Applications

Section 1 Function Families

slide-3
SLIDE 3

Function Families PRF from OWF PRP from PRF Applications function families

function families

1

F = {Fn}n∈N, where Fn = {f : {0, 1}m(n) → {0, 1}ℓ(n)}

2

We write F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)}

3

If m(n) = ℓ(n) = n, we omit it from the notation

4

We identify function with their description

5

The rv Fn is uniformly distributed over Fn

slide-4
SLIDE 4

Function Families PRF from OWF PRP from PRF Applications efficient function families

efficient function families Definition 1 (efficient function family) An ensemble of function families F = {Fn}n∈N is efficient, if the following hold:

  • Samplable. F is samplable in polynomial-time: there exists a

PPT that given 1n, outputs (the description of) a

uniform element in Fn.

  • Efficient. There exists a polynomial-time algorithm that

given x ∈ {0, 1}n and (a description of) f ∈ Fn,

  • utputs f(x).
slide-5
SLIDE 5

Function Families PRF from OWF PRP from PRF Applications random functions

random functions Definition 2 (random functions) For m, ℓ ∈ N, we let Πm,ℓ consist of all functions from {0, 1}m to {0, 1}ℓ.

slide-6
SLIDE 6

Function Families PRF from OWF PRP from PRF Applications random functions

random functions Definition 2 (random functions) For m, ℓ ∈ N, we let Πm,ℓ consist of all functions from {0, 1}m to {0, 1}ℓ. It takes 2m · ℓ bits to describe an element inside Πm,ℓ.

slide-7
SLIDE 7

Function Families PRF from OWF PRP from PRF Applications random functions

random functions Definition 2 (random functions) For m, ℓ ∈ N, we let Πm,ℓ consist of all functions from {0, 1}m to {0, 1}ℓ. It takes 2m · ℓ bits to describe an element inside Πm,ℓ. We sometimes think of π ∈ Πm,ℓ as a random string of length 2m · ℓ.

slide-8
SLIDE 8

Function Families PRF from OWF PRP from PRF Applications random functions

random functions Definition 2 (random functions) For m, ℓ ∈ N, we let Πm,ℓ consist of all functions from {0, 1}m to {0, 1}ℓ. It takes 2m · ℓ bits to describe an element inside Πm,ℓ. We sometimes think of π ∈ Πm,ℓ as a random string of length 2m · ℓ. Πn = Πn,n

slide-9
SLIDE 9

Function Families PRF from OWF PRP from PRF Applications pseudorandom functions

pseudorandom functions Definition 3 (pseudorandom functions) A function family ensemble F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)} is pseudorandom, if

  • Pr[DFn(1n) = 1] − Pr[DΠm(n),ℓ(n)(1n) = 1
  • = neg(n),

for any oracle-aided PPT D.

slide-10
SLIDE 10

Function Families PRF from OWF PRP from PRF Applications pseudorandom functions

pseudorandom functions Definition 3 (pseudorandom functions) A function family ensemble F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)} is pseudorandom, if

  • Pr[DFn(1n) = 1] − Pr[DΠm(n),ℓ(n)(1n) = 1
  • = neg(n),

for any oracle-aided PPT D.

1

Suffices to consider ℓ(n) = n

slide-11
SLIDE 11

Function Families PRF from OWF PRP from PRF Applications pseudorandom functions

pseudorandom functions Definition 3 (pseudorandom functions) A function family ensemble F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)} is pseudorandom, if

  • Pr[DFn(1n) = 1] − Pr[DΠm(n),ℓ(n)(1n) = 1
  • = neg(n),

for any oracle-aided PPT D.

1

Suffices to consider ℓ(n) = n

2

Easy to construct (with no assumption) for m(n) = log n and ℓ ∈ poly

slide-12
SLIDE 12

Function Families PRF from OWF PRP from PRF Applications pseudorandom functions

pseudorandom functions Definition 3 (pseudorandom functions) A function family ensemble F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)} is pseudorandom, if

  • Pr[DFn(1n) = 1] − Pr[DΠm(n),ℓ(n)(1n) = 1
  • = neg(n),

for any oracle-aided PPT D.

1

Suffices to consider ℓ(n) = n

2

Easy to construct (with no assumption) for m(n) = log n and ℓ ∈ poly

3

PRF easily imply a PRG

slide-13
SLIDE 13

Function Families PRF from OWF PRP from PRF Applications pseudorandom functions

pseudorandom functions Definition 3 (pseudorandom functions) A function family ensemble F = {Fn : {0, 1}m(n) → {0, 1}ℓ(n)} is pseudorandom, if

  • Pr[DFn(1n) = 1] − Pr[DΠm(n),ℓ(n)(1n) = 1
  • = neg(n),

for any oracle-aided PPT D.

1

Suffices to consider ℓ(n) = n

2

Easy to construct (with no assumption) for m(n) = log n and ℓ ∈ poly

3

PRF easily imply a PRG

4

Pseudorandom permutations (PRPs)

slide-14
SLIDE 14

Function Families PRF from OWF PRP from PRF Applications

Section 2 PRF from OWF

slide-15
SLIDE 15

Function Families PRF from OWF PRP from PRF Applications the construction

the construction Construction 4 Let g : {0, 1}n → {0, 1}2n. Let g0(s) = g(s)1,...,n and g1(s) = g(s)n+1,...,2n. For s and x ∈ {0, 1}∗, let fs be defined as fs(x) = gxn(. . . (gx2(gx1(s))))

slide-16
SLIDE 16

Function Families PRF from OWF PRP from PRF Applications the construction

the construction Construction 4 Let g : {0, 1}n → {0, 1}2n. Let g0(s) = g(s)1,...,n and g1(s) = g(s)n+1,...,2n. For s and x ∈ {0, 1}∗, let fs be defined as fs(x) = gxn(. . . (gx2(gx1(s)))) Let Fn = {fs : s ∈ {0, 1}n} and F = {Fn}.

slide-17
SLIDE 17

Function Families PRF from OWF PRP from PRF Applications the construction

the construction Construction 4 Let g : {0, 1}n → {0, 1}2n. Let g0(s) = g(s)1,...,n and g1(s) = g(s)n+1,...,2n. For s and x ∈ {0, 1}∗, let fs be defined as fs(x) = gxn(. . . (gx2(gx1(s)))) Let Fn = {fs : s ∈ {0, 1}n} and F = {Fn}. g is efficient function implies that F is an efficient family.

slide-18
SLIDE 18

Function Families PRF from OWF PRP from PRF Applications the construction

the construction Construction 4 Let g : {0, 1}n → {0, 1}2n. Let g0(s) = g(s)1,...,n and g1(s) = g(s)n+1,...,2n. For s and x ∈ {0, 1}∗, let fs be defined as fs(x) = gxn(. . . (gx2(gx1(s)))) Let Fn = {fs : s ∈ {0, 1}n} and F = {Fn}. g is efficient function implies that F is an efficient family. Theorem 5 (Goldreich-Goldwasser-Micali) If g is a PRG then F is a PRF .

slide-19
SLIDE 19

Function Families PRF from OWF PRP from PRF Applications the construction

the construction Construction 4 Let g : {0, 1}n → {0, 1}2n. Let g0(s) = g(s)1,...,n and g1(s) = g(s)n+1,...,2n. For s and x ∈ {0, 1}∗, let fs be defined as fs(x) = gxn(. . . (gx2(gx1(s)))) Let Fn = {fs : s ∈ {0, 1}n} and F = {Fn}. g is efficient function implies that F is an efficient family. Theorem 5 (Goldreich-Goldwasser-Micali) If g is a PRG then F is a PRF . Corollary 6 OWFs imply PRFs.

slide-20
SLIDE 20

Function Families PRF from OWF PRP from PRF Applications Proof Idea

Proof Idea Easy to prove for input of length 2.

slide-21
SLIDE 21

Function Families PRF from OWF PRP from PRF Applications Proof Idea

Proof Idea Easy to prove for input of length 2. Observation: D = (g(g0(Un)), g(g1(Un))) is pseudorandom:

slide-22
SLIDE 22

Function Families PRF from OWF PRP from PRF Applications Proof Idea

Proof Idea Easy to prove for input of length 2. Observation: D = (g(g0(Un)), g(g1(Un))) is pseudorandom: Proof: D′ = (g(U(0)

n ), g(U1 n)) ≈c U4n and D ≈c D′.

slide-23
SLIDE 23

Function Families PRF from OWF PRP from PRF Applications Proof Idea

Proof Idea Easy to prove for input of length 2. Observation: D = (g(g0(Un)), g(g1(Un))) is pseudorandom: Proof: D′ = (g(U(0)

n ), g(U1 n)) ≈c U4n and D ≈c D′.

Hence we can handle input of length 2 Extend to longer inputs?

slide-24
SLIDE 24

Function Families PRF from OWF PRP from PRF Applications Proof Idea

Proof Idea Easy to prove for input of length 2. Observation: D = (g(g0(Un)), g(g1(Un))) is pseudorandom: Proof: D′ = (g(U(0)

n ), g(U1 n)) ≈c U4n and D ≈c D′.

Hence we can handle input of length 2 Extend to longer inputs? We show that an efficient sample from the truth table of f ← Fn, is computationally indistinguishable from that of π ← Πn,n.

slide-25
SLIDE 25

Function Families PRF from OWF PRP from PRF Applications Actual proof

Actual proof Assume ∃ PPT D, p ∈ poly and infinite set I ⊆ N with

  • Pr[DFn(1n) = 1] − Pr[DΠn(1n) = 1]

1 p(n), (1) for any n ∈ I and fix n ∈ N

slide-26
SLIDE 26

Function Families PRF from OWF PRP from PRF Applications Actual proof

Actual proof Assume ∃ PPT D, p ∈ poly and infinite set I ⊆ N with

  • Pr[DFn(1n) = 1] − Pr[DΠn(1n) = 1]

1 p(n), (1) for any n ∈ I and fix n ∈ N Let t = t(n) ∈ poly be a bound on the running time of D(1n). We use D to construct a PPT D′ such that

  • Pr[D′(Ut

2n) = 1] − Pr[D′(g(Un)t) = 1

  • >

1 np(n, where Ut

2n = U(1) 2n , . . . , U(t(n)) 2n

and g(Un)t = g(U(1)

n ), . . . , g(U(t(n)) n

).

slide-27
SLIDE 27

Function Families PRF from OWF PRP from PRF Applications Actual proof

The hybrid Let g and f be as in the definition of Fn Definition 7 For k ∈ {0, . . . , n}, let Hk = {hπ : {0, 1}n → {0, 1}n : π ∈ Πk,n}, where hπ(x) = fπ(x1,...,k)(xk+1,...,n)

slide-28
SLIDE 28

Function Families PRF from OWF PRP from PRF Applications Actual proof

The hybrid Let g and f be as in the definition of Fn Definition 7 For k ∈ {0, . . . , n}, let Hk = {hπ : {0, 1}n → {0, 1}n : π ∈ Πk,n}, where hπ(x) = fπ(x1,...,k)(xk+1,...,n) fy(λ) = y Π0,n = {0, 1}n, and for π ∈ Π0,n let π(λ) = π

slide-29
SLIDE 29

Function Families PRF from OWF PRP from PRF Applications Actual proof

The hybrid Let g and f be as in the definition of Fn Definition 7 For k ∈ {0, . . . , n}, let Hk = {hπ : {0, 1}n → {0, 1}n : π ∈ Πk,n}, where hπ(x) = fπ(x1,...,k)(xk+1,...,n) fy(λ) = y Π0,n = {0, 1}n, and for π ∈ Π0,n let π(λ) = π Note that H0 = Fn and Hn = Πn,n

slide-30
SLIDE 30

Function Families PRF from OWF PRP from PRF Applications Actual proof

The hybrid Let g and f be as in the definition of Fn Definition 7 For k ∈ {0, . . . , n}, let Hk = {hπ : {0, 1}n → {0, 1}n : π ∈ Πk,n}, where hπ(x) = fπ(x1,...,k)(xk+1,...,n) fy(λ) = y Π0,n = {0, 1}n, and for π ∈ Π0,n let π(λ) = π Note that H0 = Fn and Hn = Πn,n Can we emulate Hk?

slide-31
SLIDE 31

Function Families PRF from OWF PRP from PRF Applications Actual proof

The hybrid Let g and f be as in the definition of Fn Definition 7 For k ∈ {0, . . . , n}, let Hk = {hπ : {0, 1}n → {0, 1}n : π ∈ Πk,n}, where hπ(x) = fπ(x1,...,k)(xk+1,...,n) fy(λ) = y Π0,n = {0, 1}n, and for π ∈ Π0,n let π(λ) = π Note that H0 = Fn and Hn = Πn,n Can we emulate Hk? We emulate if from D’s point of view. We present efficient “function family" Ok = {Os1,...,st

k

} s.t.

DO

Ut 2n k

(1n) ≡ DHk (1n) DOg(Un)t

k

(1n) ≡ DHk−1(1n)

for any k ∈ [n], where HK is uniformly sampled from Hk.

slide-32
SLIDE 32

Function Families PRF from OWF PRP from PRF Applications Actual proof

completing the proof Let D′(y) return DOy

k (1n) for k uniformly chosen in [n].

slide-33
SLIDE 33

Function Families PRF from OWF PRP from PRF Applications Actual proof

completing the proof Let D′(y) return DOy

k (1n) for k uniformly chosen in [n]. Hence

  • Pr[D′(Ut

2n = 1]

  • − Pr[D′(g(Un)t) = 1]

=

  • n
  • k=1

1 n · Pr[DO

Ut 2n k

(1n) = 1] −

n

  • k=1

1 n · Pr[DOg(Un)t

k

(1n) = 1]

slide-34
SLIDE 34

Function Families PRF from OWF PRP from PRF Applications Actual proof

completing the proof Let D′(y) return DOy

k (1n) for k uniformly chosen in [n]. Hence

  • Pr[D′(Ut

2n = 1]

  • − Pr[D′(g(Un)t) = 1]

=

  • n
  • k=1

1 n · Pr[DO

Ut 2n k

(1n) = 1] −

n

  • k=1

1 n · Pr[DOg(Un)t

k

(1n) = 1]

  • =

1 n

  • n
  • k=1

Pr[DHk(1n) = 1] −

n

  • k=1

Pr[DHk−1(1n) = 1]

slide-35
SLIDE 35

Function Families PRF from OWF PRP from PRF Applications Actual proof

completing the proof Let D′(y) return DOy

k (1n) for k uniformly chosen in [n]. Hence

  • Pr[D′(Ut

2n = 1]

  • − Pr[D′(g(Un)t) = 1]

=

  • n
  • k=1

1 n · Pr[DO

Ut 2n k

(1n) = 1] −

n

  • k=1

1 n · Pr[DOg(Un)t

k

(1n) = 1]

  • =

1 n

  • n
  • k=1

Pr[DHk(1n) = 1] −

n

  • k=1

Pr[DHk−1(1n) = 1]

  • =

1 n

  • Pr[DHn(1n) = 1] − Pr[DH0(1n) = 1]
  • =

1 np(n)

slide-36
SLIDE 36

Function Families PRF from OWF PRP from PRF Applications Actual proof

The family Ok Ok := {Os1,...,st

k

: s1, . . . , st ∈ {0, 1}n × {0, 1}n}. Algorithm 8 (Os1,...,st

k

) On the i’th query xi ∈ {0, 1}n:

1

If xℓ with xℓ

1,...,k−1 = xi 1,...,k−1 was previously asked,

set z = sℓ

xk (where ℓ is the minimal such index).

Otherwise, set z = si

xk.

2

Return fz(xk+1,...,n)

slide-37
SLIDE 37

Function Families PRF from OWF PRP from PRF Applications Actual proof

The family Ok Ok := {Os1,...,st

k

: s1, . . . , st ∈ {0, 1}n × {0, 1}n}. Algorithm 8 (Os1,...,st

k

) On the i’th query xi ∈ {0, 1}n:

1

If xℓ with xℓ

1,...,k−1 = xi 1,...,k−1 was previously asked,

set z = sℓ

xk (where ℓ is the minimal such index).

Otherwise, set z = si

xk.

2

Return fz(xk+1,...,n) Ok is stateful.

slide-38
SLIDE 38

Function Families PRF from OWF PRP from PRF Applications Actual proof

The family Ok Ok := {Os1,...,st

k

: s1, . . . , st ∈ {0, 1}n × {0, 1}n}. Algorithm 8 (Os1,...,st

k

) On the i’th query xi ∈ {0, 1}n:

1

If xℓ with xℓ

1,...,k−1 = xi 1,...,k−1 was previously asked,

set z = sℓ

xk (where ℓ is the minimal such index).

Otherwise, set z = si

xk.

2

Return fz(xk+1,...,n) Ok is stateful. We need to prove that DO

Ut 2n k

(1n) ≡ DHk(1n) and DOg(Un)t

k

(1n) ≡ DHk−1(1n).

slide-39
SLIDE 39

Function Families PRF from OWF PRP from PRF Applications Actual proof

DO

Ut 2n k

(1n) ≡ DHk(1n) Proposition 9 For any ℓ, m ∈ N and any algorithm A, it holds that AΠℓ,m ≡ ABℓ,m, where the stateful random algorithm Bℓ,m answers identical queries with the same answer, and answers new queries with a random string of length m.

slide-40
SLIDE 40

Function Families PRF from OWF PRP from PRF Applications Actual proof

DO

Ut 2n k

(1n) ≡ DHk(1n) Proposition 9 For any ℓ, m ∈ N and any algorithm A, it holds that AΠℓ,m ≡ ABℓ,m, where the stateful random algorithm Bℓ,m answers identical queries with the same answer, and answers new queries with a random string of length m. Proof?

slide-41
SLIDE 41

Function Families PRF from OWF PRP from PRF Applications Actual proof

DO

Ut 2n k

(1n) ≡ DHk(1n) Proposition 9 For any ℓ, m ∈ N and any algorithm A, it holds that AΠℓ,m ≡ ABℓ,m, where the stateful random algorithm Bℓ,m answers identical queries with the same answer, and answers new queries with a random string of length m. Proof? Does the above trivialize the whole issue of PRF?

slide-42
SLIDE 42

Function Families PRF from OWF PRP from PRF Applications Actual proof

DO

Ut 2n k

(1n) ≡ DHk(1n) Proposition 9 For any ℓ, m ∈ N and any algorithm A, it holds that AΠℓ,m ≡ ABℓ,m, where the stateful random algorithm Bℓ,m answers identical queries with the same answer, and answers new queries with a random string of length m. Proof? Does the above trivialize the whole issue of PRF? Let Ok be the variant that returns z (and not fxk+1,...,n(z)) and let

  • Dk be the algorithm that implements D using

Ok (by computing fxk+1,...,n(z) by itself).

slide-43
SLIDE 43

Function Families PRF from OWF PRP from PRF Applications Actual proof

DO

Ut 2n k

(1n) ≡ DHk(1n) Proposition 9 For any ℓ, m ∈ N and any algorithm A, it holds that AΠℓ,m ≡ ABℓ,m, where the stateful random algorithm Bℓ,m answers identical queries with the same answer, and answers new queries with a random string of length m. Proof? Does the above trivialize the whole issue of PRF? Let Ok be the variant that returns z (and not fxk+1,...,n(z)) and let

  • Dk be the algorithm that implements D using

Ok (by computing fxk+1,...,n(z) by itself). By Proposition 9 DO

Ut 2n k

(1n) ≡ D

  • O

Ut 2n k

k

(1n) ≡ D

πk,n k

(1n) ≡ DHk(1n) (2)

slide-44
SLIDE 44

Function Families PRF from OWF PRP from PRF Applications Actual proof

DOg(Un)t

k

(1n) ≡ DHk−1(1n) It holds that DOg(Un)t

k

)(1n) ≡ DO

Ut 2n k−1(1n)

(3)

slide-45
SLIDE 45

Function Families PRF from OWF PRP from PRF Applications Actual proof

DOg(Un)t

k

(1n) ≡ DHk−1(1n) It holds that DOg(Un)t

k

)(1n) ≡ DO

Ut 2n k−1(1n)

(3) Hence, by Equation (2) DOg(Un)t

k

(1n) ≡ DHk−1(1n)

slide-46
SLIDE 46

Function Families PRF from OWF PRP from PRF Applications

Section 3 PRP from PRF

slide-47
SLIDE 47

Function Families PRF from OWF PRP from PRF Applications

Pseudorandom permutations Let Πn be the set of all permutations over {0, 1}n. Definition 10 (pseudorandom permutations) A permutation ensemble F = {Fn : {0, 1}n → {0, 1}n} is a pseudorandom permutation, if

  • Pr[DFn(1n) = 1] − Pr[D
  • Πn(1n) = 1
  • = neg(n),

(4) for any oracle-aided PPT D

slide-48
SLIDE 48

Function Families PRF from OWF PRP from PRF Applications

Pseudorandom permutations Let Πn be the set of all permutations over {0, 1}n. Definition 10 (pseudorandom permutations) A permutation ensemble F = {Fn : {0, 1}n → {0, 1}n} is a pseudorandom permutation, if

  • Pr[DFn(1n) = 1] − Pr[D
  • Πn(1n) = 1
  • = neg(n),

(4) for any oracle-aided PPT D Equation (4) holds for any PRF

slide-49
SLIDE 49

Function Families PRF from OWF PRP from PRF Applications

Construction Construction 11 Given a function family F = {Fn : {0, 1}n → {0, 1}n}, let LR(F) = {LR(Fn): {0, 1}2n → {0, 1}2n}, where LR(Fn) = {LR(f): f ∈ Fn} and LR(f)(ℓ, r) = (r, f(r) ⊕ ℓ).

slide-50
SLIDE 50

Function Families PRF from OWF PRP from PRF Applications

Construction Construction 11 Given a function family F = {Fn : {0, 1}n → {0, 1}n}, let LR(F) = {LR(Fn): {0, 1}2n → {0, 1}2n}, where LR(Fn) = {LR(f): f ∈ Fn} and LR(f)(ℓ, r) = (r, f(r) ⊕ ℓ). For i ∈ N, let LRi(F) be the i’th iteration of LR(F).

slide-51
SLIDE 51

Function Families PRF from OWF PRP from PRF Applications

Construction Construction 11 Given a function family F = {Fn : {0, 1}n → {0, 1}n}, let LR(F) = {LR(Fn): {0, 1}2n → {0, 1}2n}, where LR(Fn) = {LR(f): f ∈ Fn} and LR(f)(ℓ, r) = (r, f(r) ⊕ ℓ). For i ∈ N, let LRi(F) be the i’th iteration of LR(F). LR(F) is always a permutation family, and is efficient if F is.

slide-52
SLIDE 52

Function Families PRF from OWF PRP from PRF Applications

Construction Construction 11 Given a function family F = {Fn : {0, 1}n → {0, 1}n}, let LR(F) = {LR(Fn): {0, 1}2n → {0, 1}2n}, where LR(Fn) = {LR(f): f ∈ Fn} and LR(f)(ℓ, r) = (r, f(r) ⊕ ℓ). For i ∈ N, let LRi(F) be the i’th iteration of LR(F). LR(F) is always a permutation family, and is efficient if F is. Theorem 12 (Luby-Rackoff) Assuming that F is a PRF , then LR3(F) is a PRP

slide-53
SLIDE 53

Function Families PRF from OWF PRP from PRF Applications

Construction Construction 11 Given a function family F = {Fn : {0, 1}n → {0, 1}n}, let LR(F) = {LR(Fn): {0, 1}2n → {0, 1}2n}, where LR(Fn) = {LR(f): f ∈ Fn} and LR(f)(ℓ, r) = (r, f(r) ⊕ ℓ). For i ∈ N, let LRi(F) be the i’th iteration of LR(F). LR(F) is always a permutation family, and is efficient if F is. Theorem 12 (Luby-Rackoff) Assuming that F is a PRF , then LR3(F) is a PRP It suffices to prove the the following holds for any n ∈ N (why?) Claim 13 |Pr[DLR3(Πn)(1n) = 1] − Pr[D

Π2n(1n)| = 1] ≤ 4·q2 2n ,

for any q-query algorithm D.

slide-54
SLIDE 54

Function Families PRF from OWF PRP from PRF Applications

Section 4 Applications

slide-55
SLIDE 55

Function Families PRF from OWF PRP from PRF Applications

general paradigm Design a scheme assuming that you have random functions, and the realize them using PRF .

slide-56
SLIDE 56

Function Families PRF from OWF PRP from PRF Applications Private-key Encryption

Private-key Encryption Construction 14 (PRF-based encryption) Given an (efficient) PRF F, define the encryption scheme (Gen, Enc, Dec)) se: Key generation Gen(1n) returns k ← Fn Encryption Enck(m) returns Un, k(Un) ⊕ m Decryption Deck(c = (c1, cn)) returns k(c1) ⊕ c2

slide-57
SLIDE 57

Function Families PRF from OWF PRP from PRF Applications Private-key Encryption

Private-key Encryption Construction 14 (PRF-based encryption) Given an (efficient) PRF F, define the encryption scheme (Gen, Enc, Dec)) se: Key generation Gen(1n) returns k ← Fn Encryption Enck(m) returns Un, k(Un) ⊕ m Decryption Deck(c = (c1, cn)) returns k(c1) ⊕ c2 Advantages over the PRG based scheme?

slide-58
SLIDE 58

Function Families PRF from OWF PRP from PRF Applications Private-key Encryption

Private-key Encryption Construction 14 (PRF-based encryption) Given an (efficient) PRF F, define the encryption scheme (Gen, Enc, Dec)) se: Key generation Gen(1n) returns k ← Fn Encryption Enck(m) returns Un, k(Un) ⊕ m Decryption Deck(c = (c1, cn)) returns k(c1) ⊕ c2 Advantages over the PRG based scheme? Proof of security