01 Ciphers Flashcards
What are 3 uses for encryption?
preserve privacy
check integrity
prove identity
Consider the use of a symmetric encryption algorithm and an asymmetric encryption algorithm. Which is used to authenticate identities? Which is used for the actual core encryption of data? Which is used to pass encryption keys?
- Asymmetric
- Symmetric
- Asymmetric
What is the main use of secret-key encryption?
Protecting the contents of a message
What is the main use of public-key encryption?
Proving the identity of a message’s sender or recipient
What is the main use of hashing methods?
Proving the validity of a message
What is the main use of message signatures?
Providing the identity of a message sender and the contents of the message
A code mapping in which pulses are sent along a medium, with silence in between groups of dots and dashes comprising individual charachters
morse code
What type of cipher is the Pigpen Cipher?
mono-alphabetic substitution
Describe the BIFID cipher
- grid-based, 5x5
- maps letters into numeric values
- 1901, Delastelle
Describe the Playfair cipher
- grid-based, 5x5
- encrypts pairs of digraphs
- frequency analysis does NOT work with it
- 1854, Charles Wheatstone / Lord Playfair
Describe the Homophonic Substitution Cipher
- aims to overcome frequency analysis
- varies the number of codes mapped to each letter
Describe the Caesar Cipher
- transposition cipher
- Julius Caesar
- originally, shifted the plaintext alphabet 3 chars
- modern implementations, both parties agree on the direction and degree of the shift
Describe the Scrambled Alphabet Cipher
- improved on Caesar cipher
- randomly maps plaintext to ciphertext
- 26! possible mappings (4.03x10^26)
- still susceptible to brute-force attacks (Eve needs to search through 50% of the possible solutions)
- can be cracked quickly by using frequency analysis
Describe the Vigenere Cipher
- an improvement on the scrambled alphabet cipher
- based on selected keyword & polyalphabetic mapping
- invented 1553, Giovan Battista Bellaso
- cracked by Kasiski, 1863
Describe One-time Pad
- used only once, then discarded
- generally considered unbreakable