One way functions Flashcards

1
Q

Key Idea of Modern Cryptography

A

Use the intractability of some problems for the advantage of constructing secure system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 basic issues in Cryptography

A
  • Identification
  • Authentication
  • Encryption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does one need to specify to define the security of a system?

A
  1. What constitutes a failure?
  2. The power of the adversary
    - computational resources
    - access to the system
    - what it means to break the system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Shannon Entropy

A

At a conceptual level, Shannon’s Entropy is simply the “amount of information” in a variable. More mundanely, that translates to the amount of storage (e.g. number of bits) required to store the variable, which can intuitively be understood to correspond to the amount of information in that variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Min Entropy

A

Let X be random variable over alphabet Γ with distribution Px

The min entropy of X is
Hmin(X) = - log max x Γ Px (x)

The min entropy represents the most likely value of X

Property: Hmin(X) ≤ H(X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

High Min Entropy and Passwords

A

Claim: If Alice and Bob agree on X such that Hmin(X) ≥ m, then the probability that Eve succeeds in cheating is at most 2-m

Proof: Make Eve deterministic, by picking her best choice, X = x’.
Prob[X=x’] = PX (x’) ≤ max X Γ PX (x) = 2 –Hmin(X) ≤ 2-m

Conclusion: passwords should be chosen to have high min-entropy!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Computational Models:Asymptotic

A

Turing Machines with random tape

For classical models: precise model does not matter up to polynomial factor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Computational Models: Concrete: Boolean circuits

A

A function f:{0,1}n → {0,1}n is called a (t,ε) one-way function, if
f is a polynomial-time computable function (independent of t)
for every t-time algorithm A,
Prob[A(f(x))  f-1(f(x)) ] ≤ ε

where x is chosen uniformly in  {0,1}n and the probability is also over the internal coin flips of A

Can either think of t and ε as being fixed or as t(n), ε(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

One-way functions - asymptotic

A

A function f: {0,1}* → {0,1}* is called a one-way function, if
f is a polynomial-time computable function
thus, also polynomial relationship between input and output length

for every probabilistic polynomial-time algorithm A, every positive polynomial p(.), and all sufficiently large n’s
Prob[ A(f(x))  f-1(f(x)) ] ≤ 1/p(n)

where x is chosen uniformly in {0,1}n and the probability is also over the internal coin flips of A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Claim: if P=NP then there

A

Claim: if P=NP then there are no one-way functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Examples of hard problems:

A
  • subset sum
  • discrete log
  • factoring
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Subset sum one-way function

A
function  f:{0,1}mn+n → {0,1}mn+m 
f(a1, a2 ,…, an , b1, b2 ,…, bn ) = 
(a1, a2 ,…, an , ∑ i=1n bi ai   mod 2m )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Discrete Log Problem OWF

A

If difficult, f(g,x) = (g, gx ) is a one-way function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Integer Factoring OWF

A
Let g(r) be a function mapping random bits into random primes. 
The function f(r1,r2) = g(r1) • g(r2) is one-way
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Weak One-way function

A

A function f: {0,1}n → {0,1}n is called a weak one-way function, if

f is a polynomial-time computable function, and
there exists a polynomial p( ), s.t. for every probabilistic polynomial-time algorithm A, and all sufficiently large n’s it holds that
Prob[A[f(x)]  f-1(f(x)) ] ≤ 1-1/p(n)

is valid, where x is chosen uniformly in {0,1}n and the probability is also over the internal coin flips of A.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Make a strong OWF from a week one

A

An instance of a hardness amplification problem.

Simple idea: repetition. For some polynomial q(n) define
g(x1, x2, …, xq(n) )=f(x1), f(x2), …, f(xq(n))