Cryptography Flashcards
What is the law regarding passwords?
There’s now a law which makes it an offence to not reveal your password when a law enforcer asks you to.
What is a cryptosystem?
Disguises
Disguises messages, allowing only selected people to see through the disguise.
What is cyphertext?
Jumbled
Where all the information is jumbled up so it can be interpreted
What are the two basic methods for disguising messages?
- Transposition
- Substitution
What is transposition?
Letters rearranged into a different order
What is substitution?
Letters replaced by other letters or symbols
What is the method for simple transposition encryption?
- Decide a keyword
- Write the key horizontally as the heading for columns.
- Assign numerical values to each letter based on the letter’s order of appearance in the alphabet.
- Align plaintext message across each column.
- Read down each column according to the ordinal value (col A1 first followed by col C2 etc).
What is the method for simple transposition decryption?
- Write the key horizontally as the heading for columns.
- Assign numerical values to each letter based on the letter’s order of appearance in the alphabet.
- Place the cyphertext segments under each column.
- Read across each column to obtain the plaintext.
What is simple substitution encryption also known as?
Caesar cypher
What is the method for simple substitution encryption?
rewatch lecture?
What is the problem with the shift cypher?
The number of keys is too small (26)
What is an alternative approach to the shift cypher?
Permutation
Use a random key permutation for each letter in the alphabet
What is symmetric key cryptography?
Same key used to encrypt and decrypt the message.
What is symmetric key cryptography?
Same key used to encrypt and decrypt the message.
What is asymmetric key cryptography?
- The key for encryption is not the same as the key for decryption.
- Two keys are needed.
- Send public key to intended recipients.
- Private key always remains with the sender.
- Assures that messages are from their advertised source.