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