Docsity

CYBR 7400 - CLASSICAL CRYPTOGRAPHY VERIFIED STUDY GUIDE, Exams of Social Sciences

Toggle sidebar
bg1
CYBR 7400 - CLASSICAL CRYPTOGRAPHY
VERIFIED STUDY GUIDE
Plaintext - Answers - The original intelligible message or data.
Ciphertext - Answers - The coded or scrambled message produced by encryption.
Encryption / enciphering - Answers - The process of converting plaintext into
ciphertext.
Decryption / deciphering - Answers - The process of restoring plaintext from
ciphertext.
Cryptography - Answers - The study of schemes used for encryption.
Cryptographic system / cipher - Answers - An individual encryption scheme.
Cryptanalysis - Answers - Techniques used to decipher a message without knowing
the enciphering details; breaking the code.
Cryptology - Answers - Cryptography and cryptanalysis together.
Symmetric encryption - Answers - A cryptosystem in which encryption and
decryption use the same key; also called conventional, single-key, or secret-key
encryption.
Five ingredients of symmetric encryption - Answers - Plaintext, encryption algorithm,
secret key, ciphertext, and decryption algorithm.
Encryption algorithm - Answers - Performs substitutions and transformations on
plaintext.
Secret key - Answers - A value independent of the plaintext and algorithm that
determines the specific substitutions and transformations performed.
Decryption algorithm - Answers - Essentially the encryption algorithm run in reverse,
using ciphertext and the secret key to recover plaintext.
Symmetric encryption equations - Answers - Y = E(K, X) for encryption and X = D(K,
Y) for decryption.
Two requirements for secure symmetric encryption - Answers - Use a strong
encryption algorithm, and securely obtain, distribute, and protect the secret key.
What must remain secret in symmetric encryption? - Answers - The key, not
necessarily the encryption algorithm.
pf3
pf4
pf5

Partial preview of the text

Download CYBR 7400 - CLASSICAL CRYPTOGRAPHY VERIFIED STUDY GUIDE and more Exams Social Sciences in PDF only on Docsity!

CYBR 7400 - CLASSICAL CRYPTOGRAPHY

VERIFIED STUDY GUIDE

Plaintext - Answers - The original intelligible message or data. Ciphertext - Answers - The coded or scrambled message produced by encryption. Encryption / enciphering - Answers - The process of converting plaintext into ciphertext. Decryption / deciphering - Answers - The process of restoring plaintext from ciphertext. Cryptography - Answers - The study of schemes used for encryption. Cryptographic system / cipher - Answers - An individual encryption scheme. Cryptanalysis - Answers - Techniques used to decipher a message without knowing the enciphering details; breaking the code. Cryptology - Answers - Cryptography and cryptanalysis together. Symmetric encryption - Answers - A cryptosystem in which encryption and decryption use the same key; also called conventional, single-key, or secret-key encryption. Five ingredients of symmetric encryption - Answers - Plaintext, encryption algorithm, secret key, ciphertext, and decryption algorithm. Encryption algorithm - Answers - Performs substitutions and transformations on plaintext. Secret key - Answers - A value independent of the plaintext and algorithm that determines the specific substitutions and transformations performed. Decryption algorithm - Answers - Essentially the encryption algorithm run in reverse, using ciphertext and the secret key to recover plaintext. Symmetric encryption equations - Answers - Y = E(K, X) for encryption and X = D(K, Y) for decryption. Two requirements for secure symmetric encryption - Answers - Use a strong encryption algorithm, and securely obtain, distribute, and protect the secret key. What must remain secret in symmetric encryption? - Answers - The key, not necessarily the encryption algorithm.

Principal security problem in symmetric encryption - Answers - Maintaining the secrecy of the key. Three dimensions of cryptographic systems - Answers - Type of transformation operations, number of keys used, and way plaintext is processed. Substitution - Answers - Maps each plaintext element into another element. Transposition - Answers - Rearranges plaintext elements without substituting them. Product system - Answers - A cryptographic system that uses multiple stages of substitution and transposition. Symmetric vs asymmetric by key count - Answers - Same key means symmetric; different keys means asymmetric or public-key encryption. Block cipher - Answers - Processes input one block at a time and produces an output block for each input block. Stream cipher - Answers - Processes input continuously and produces output one element at a time. Goal of attacking an encryption system - Answers - Typically to recover the key rather than only the plaintext of one ciphertext. Cryptanalytic attack - Answers - Uses characteristics of the algorithm plus possible knowledge about plaintext or plaintext-ciphertext pairs to deduce plaintext or the key. Brute-force attack - Answers - Tries every possible key until intelligible plaintext is obtained. Average brute-force effort - Answers - On average, about half of all possible keys must be tried. Ciphertext-only attack - Answers - The cryptanalyst knows the encryption algorithm and ciphertext. Known-plaintext attack - Answers - The cryptanalyst knows the algorithm, ciphertext, and one or more plaintext-ciphertext pairs created with the secret key. Chosen-plaintext attack - Answers - The cryptanalyst chooses plaintext and obtains its corresponding ciphertext generated with the secret key. Chosen-ciphertext attack - Answers - The cryptanalyst chooses ciphertext and obtains its corresponding decrypted plaintext generated with the secret key. Chosen-text attack - Answers - Combines the capabilities of chosen-plaintext and chosen-ciphertext attacks.

Playfair same-column rule - Answers - Replace each letter with the letter beneath it, wrapping around at the bottom. Playfair rectangle rule - Answers - Each letter is replaced by the letter in its own row and the column occupied by the other letter of the pair. Why Playfair is stronger than simple monoalphabetic substitution - Answers - It encrypts digrams rather than single letters, making individual frequency identification harder. Why Playfair can still be broken - Answers - It still preserves much of the structure of the plaintext language. Hill cipher - Answers - A multiletter cipher that uses matrix multiplication modulo 26 to transform blocks of letters. Hill cipher encryption formula - Answers - C = PK mod 26. Hill cipher decryption formula - Answers - P = CK^-1 mod 26. Hill cipher key requirement - Answers - The key matrix must have an inverse modulo 26; its determinant must be invertible mod 26. Hill cipher strength - Answers - It hides single-letter frequency; larger matrices can also hide multi-letter frequency information. Hill cipher weakness - Answers - It is easily broken with a known-plaintext attack when enough plaintext-ciphertext block pairs are available. Polyalphabetic cipher - Answers - Uses multiple related monoalphabetic substitution rules, with a key determining which rule is used for each transformation. Vigenere cipher - Answers - A polyalphabetic cipher using the 26 Caesar shifts and a repeated keyword. Vigenere encryption formula - Answers - Ci = (pi + k(i mod m)) mod 26. Vigenere decryption formula - Answers - pi = (Ci - k(i mod m)) mod 26. Vigenere strength - Answers - Multiple ciphertext letters can represent the same plaintext letter depending on keyword position, obscuring simple letter frequencies. Vigenere weakness - Answers - Repeated keyword structure leaks information; repeated ciphertext sequences can reveal likely keyword lengths. How Vigenere is attacked after finding key length - Answers - Treat the ciphertext as several monoalphabetic ciphers and apply ordinary frequency analysis to each. Autokey system - Answers - Extends a keyword by concatenating it with the plaintext to form a running key, removing simple keyword periodicity.

Autokey weakness - Answers - Key and plaintext share the same letter-frequency distribution, leaving it vulnerable. Vernam cipher - Answers - A binary cipher that generates ciphertext by bitwise XOR of plaintext with a key stream. Vernam XOR equations - Answers - ci = pi XOR ki and pi = ci XOR ki; encryption and decryption use the same XOR operation. One-time pad requirements - Answers - Use a truly random key as long as the message, use it for only one message, and then discard it. Why the one-time pad is unbreakable - Answers - Its ciphertext has no statistical relationship to the plaintext; every equal-length plaintext can correspond to some key. One-time pad practical problems - Answers - Generating large amounts of truly random key material and securely distributing and protecting keys as long as each message. Transposition cipher - Answers - A cipher that rearranges plaintext letters without replacing them. Rail fence cipher - Answers - Writes plaintext in diagonals across rows and reads it off row by row. Columnar transposition - Answers - Writes plaintext into a rectangle row by row and reads columns in a permuted order determined by the key. Why pure transposition is recognizable - Answers - It preserves the same letter frequencies as the original plaintext. How columnar transposition can be strengthened - Answers - Use more than one stage of transposition to create a more complex permutation.