Section 2: Cryptography Flashcards
What is obfuscation?
Hide something to make it confidential.
Explain the Caesar Cipher
Substitute a letters
What is ROT2?
Shifted the letters along 2 places.
A becomes C
Vigenere Cypher
A key is used on the plain text and then matched against a caesar cypher table. Great for the alphabet.
What are the 2 classic cryptography components?
- Algorithm
2. Key for encryption
XOR - Exclusive OR
Similar to vigenere but for binary
What is Kerckhoffs’s principle?
Everybody knows the algorithm but the key is secure.
What is data at rest?
Stored media
What is data in transit?
Phone calls etc
What is Data in Process?
Data in RAM, CPU
How do you send an encryption key?
asymmetric encryption
In-band v out-of-band
Sending the key with the encrypted data, vs physically taking.
What is an Ephemeral Key?
Temporary Key - provides perfect forward secrecy.
What is asymmetric encrption?
Uses a key pair - public + private.
Public used to encrypt
Private used to decrypt
Slow and onerous. Great for exchanging session keys.
What is a Cryptosystem?
Sets the rules of the system - key properties - length. Communications requirements for key exchange and the actions for encryption and decryption.