


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!



Recommended Reading.
Dening the security of a cryptographic primitive involves three aspects:
In this lecture, we will generalize our views of the rst and third aspects of private-key encryption.
Denition 1 (multiple-message indistinguishability) Let (G, E, D) be an encryption scheme over P =
n Pn.^ (G, E, D)^ satises^ multiple-message indistinguishability^ if for every (nonuni- form) PPT A and every polynomial q, there is a negligible function ε such that for all m 0 = (m^10 ,... , mq 0 ( n)), m 1 = (m^11 ,... , mq 1 ( n)) ∈ P nq( n)such that ‖mi 0 ‖ = ‖mi 1 ‖ for all i, we have ∣ ∣ ∣Pr
A(EK (m^10 ),... , EK (mq 0 ( n))) = 1
− Pr
A(EK (m^11 ),... , EK (mq 1 ( n))) = 1
∣ ≤^ ε(n),
where the probabilities above are taken over K ←R G(1n), the coin tosses of EK , and the coin tosses of A.
Remark: it suces to consider m 0 and m 1 that dier in at most one component.
A (stateful) construction:
Proposition 2 There is no secure encryption scheme in which E is deterministic and stateless.
to be the set of all functions from { 0 , 1 }^ to { 0 , 1 }`.Denition 3 F =
n Fn, where^ Fn^ =^ {fk^ :^ {^0 ,^1 } (n) (^) → { 0 , 1 }(n)}k∈In , is a family of pseudorandom functions (PRFs) if
There is a PPT G such that G(1n) ∈ In. Given k ∈ In, and x ∈ { 0 , 1 }`(n), can evaluate fk(x) in time poly(n). For every PPT D, there is a negligible function ε such that ∣∣ ∣Pr
DfK^ (1n) = 1
− Pr
Df^ (1n) = 1
∣ ≤^ ε(n),
where the probabilities are taken over K R ← G(1n), f R ← R`(n), and the coin tosses of D.
Often (and in KL), In = { 0 , 1 }n, G(1n) outputs random n-bit string, and (n) = n. The key k is secret so the adversary D cannot evaluate fk on its own (unlike collections of one-way functions). A short key k generates a very large amount shared pseudorandomness: · 2 ^ pseudoran- dom bits from n-bit key! We can consider a pseudorandom function to be 2(n)^ blocks, each of length `(n). The block position corresponds to x and the block contains the value fk(x). This sequence is too long to be read in polynomial time so the PPT adversary will have random access to the sequence.
, i.e. a truly random function from R? The static view is that the values of f are chosen all at once. The dynamic view is the following: when f (x) queried for the rst time, it is set to a random value (remembered for future queries). Random values are chosen on the y for f (x), with the provision that we will get the same answer f (x) if we query twice at the same point x.n Pn.^ (G, E, D)^ satises^ indistinguishability under chosen- plaintext attack if for every (nonuniform) PPT A, there is a negligible function ε such that the probability that A outputs 1 in Experiments 0 and 1 dier by at most ε(n), where Experi- ment i is dened as follows:
Both Ek (if stateful) and A maintain state between various calls to them in the experiment.