Chapter 4 - Cryptographers Toolbox Flashcards
How is the strength of a cipher measured?
- In bits
What is the limiting factor in determining the strength of a cipher?
- The size of the key
What is substitution?
- One unit is substituted for another unit in a text
In the context of substitution what is a plain text unit ?
- single letters, pairs of letters, or blocks
In the context of substitution what are cipher text units?
- single letters, blocks of letters, letter-digit combinations
In the context of substitution where computer cryptography is used used what are units?
- bits, bytes or blocks of bits and bytes of any length
In the context of substitution when using plain text units what makes the cipher stronger?
- making the frequencies of letters more uniform
What can be used in solving ciphers?
- The difference of letter frequencies
What is homophonic substitution?
- Using extra pairs to provide additional substitutes for common letters
What is homophonic and letter pair substitution use for?
- Prevents an opponent from using frequency analysis
What is huffman coding?
- Based on a letter frequency table the most frequent letters get short codes while rarer letters get longer codes
What is the prefix property in huffman coding?
- No code is a prefix of any longer code
What is mixed huffman coding?
- Based on the frequency of a letter arbitrarily choose number of bits to represent the letter
What is transposition?
- Changing the orders of characters in a message
What is it called when you change the order of characters in a message ?
- Transposition
What is the simplest method of transposition
- Route transposition
What is route transposition
- letters of a message are written into a rectangle in one order and read out in a different order
What is it called when letters of a message are written into a rectangle in one order and read out in a different order
- Route transposition
What is Fractionation?
- Division of characters into smaller units
What is a random number generator?
- Anything the produces a sequence of numbers in some given range
What is something that produces a sequence of number in some given range?
- a random number generator
What is randomness a property of?
- its a property of a sequence or of the generator
What is randomness not a property of?
- individual numbers in a sequence
What can a generator be?
- It might be some physical process