Cryptosystems Flashcards
Name the formal definition of a one-way function
f(x) can be efficiently computed while f^-1(y) cannot be efficiently computed
Name a real world one-way function
Find a telephone number in a telephone book that is alphabetically sorted
Name some one-way mathematical functions
exponential: y = g^x / RSA: y = x^e / Square: y = x^2
what is a trapdoor function?
its a one-way function if there exists some additional information that may help to efficiently invert f
what is a hash-function?
an efficiently computable function that takes as input an arbitrary long input string and generates an output string of a fixed length
Name specific properties of a hash function
preimage resistent (one way), second-preimage resistent (weakly collision resistent), collision resistent (strongly collision resistent)
What does collision resistence mean?
it implies second-preimage resistence (there shouldnt be a lot of messages that result in the same hash value)
name some exemplary cryptographic hash functions
MD5, SHA-1, SHA-2, SHA-3
What and Why random bit generators?
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
Salt vs. Seed?
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