18: Cryptanalysis Flashcards
What is cryptanalysis ?
It is the process of discovering
- an input text or
- a key or
- a principle
of an encryption.
What is Brute-force attack ?
How many possible keys are there for a 128 bit key ?
It tries to guess a key by trying all possibilities.
2^128.
What is chosen plain text attack ?
Encrypt some specially chosen text to get clues (eg repeated blocks) from resulting codes about the key.
What is differential cryptanalysis ?
Encrypt several texts which differ only slightly and look for differences in the resulting codes.
What is differential fault analysis ?
Attack the hardware of the encryption computer to force it to make mistakes and reveal the key.
What does a rotor machine have ?
Several cylinders which independently rotate and simulate substitutions.
26 input pins, and 26 output pins. 26^3.
Who broke enigma and when?
Alan turing during WW2.
What is the Turing machine ?
A model of a computer.
What does a Turing test do ?
Checks if experts can not distinguish a machine from a human.
4 components of a Turing machine ?
- Infinite tape
- Head
- State register
- Rules
Which works best:
- Substitution over substitution
- Transposition over transposition
- Transposition over substitution
?
Transposition over substitution