Cryptosystems Flashcards

1
Q

Name the formal definition of a one-way function

A

f(x) can be efficiently computed while f^-1(y) cannot be efficiently computed

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

Name a real world one-way function

A

Find a telephone number in a telephone book that is alphabetically sorted

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

Name some one-way mathematical functions

A

exponential: y = g^x / RSA: y = x^e / Square: y = x^2

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

what is a trapdoor function?

A

its a one-way function if there exists some additional information that may help to efficiently invert f

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

what is a hash-function?

A

an efficiently computable function that takes as input an arbitrary long input string and generates an output string of a fixed length

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

Name specific properties of a hash function

A

preimage resistent (one way), second-preimage resistent (weakly collision resistent), collision resistent (strongly collision resistent)

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

What does collision resistence mean?

A

it implies second-preimage resistence (there shouldnt be a lot of messages that result in the same hash value)

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

name some exemplary cryptographic hash functions

A

MD5, SHA-1, SHA-2, SHA-3

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

What and Why random bit generators?

A

a device that generates an output randomly without any input - it is necessary for the security of a crypto-system. The output is a sequence of independent and equally distributed bits

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

Salt vs. Seed?

A

Salt is random data added to the hash function (e.g. when hashing passwords) in order to make sure that two same passwords do not get the same hash value.
A seed is the input for a pseudorandom number generator in order to make sure that not everyone get the first random value from the generator

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