Cryptography, Cryptology, Cryptanalysis, Crypto
Cryptography: making secret codes
Cryptology: Making and Breaking secret codes
Cryptanalysis: Breaking secret codes
Crypto: all of the above, a black box
Caesar Cipher
Hardening Caesar Cipher + 1-ve
cipher/cryptosystem, encryption result, decryption result, symmetric key, public key, private key
Secure cryptosystem & Broken cryptosystem
Vigenere Cipher
Vigenere Cipher decryption
One Time Pad
OTP encryption & decryption
Encryption: Add each letter by cipher until cipher ends then repeat until sequence ends
Decryption: Minus each letter by cipher until cipher ends then repeat until sequence ends
- mod26 for both. A=1, Z=26
One Time Pad properties(3)
Problems with One Time Pad(5)
Randomness
Errors in identifying randomness
Birthday paradox
Crude Shannon
Symmetric cryptography
Feedback Shift Registers(FSR)
Stream cipher 1 +ve, 1-ve, Solution,
-ve of Solution
+ve: Efficient in hardware
-ve: Speed needed
Solution: fast processors today
-ve: death of linear stream ciphers due to linear lagebra
ECB, Electronic codebook overview
ECB 3 +ve, 5 -ves
+ves:
1. Parallel Encryption
2. Parallel Decryption
3. Random Read
-ves: Ek fixed function for fixed k so Simple Substitution
1. Fixed map for symbols
2. Patterns preserved
3. Repetition seen
4. Frequency found
5. Ciphertext leaks plaintext information
* Same issues facing deterministic cipher with fixed key
CBC, Cipher Block Chaining + 1 -ve
CTR, Counter mode + 2 +ves