From agenda (page 5)
-
What is cryptography
-
Security goals:
- Confidentiality
- Integrity
- Authentication
-
Why crypto is needed (ATM, web, etc.)
- Define cryptography
- Why is cryptography important?
From agenda (page 2)
- Definition
- Example
- Why important (RSA)
- How to calculate GCD (step-by-step)
- mod operations
- (a + b) mod n
- (a ร b) mod n
- aแต โก a (mod p)
- probabilistic test
- Substitution cipher
- Transposition cipher
- One-time pad
From slides (page 2โ4)
- Symmetric
- Asymmetric
- Substitution
- Transposition
- Block โ fixed size
- Stream โ continuous
- Brute force
- Cryptanalysis
- Unconditional security (OTP only)
- Computational security
This is your main topic.
- Block size = 128 bit
- Key = 128 / 192 / 256
- Rounds = 10 / 12 / 14
Initial:
AddRoundKey
Rounds:
SubBytes
ShiftRows
MixColumns
AddRoundKey
Final:
SubBytes
ShiftRows
AddRoundKey
- SubBytes โ S-box
- ShiftRows โ shifting
- MixColumns โ matrix multiply
- AddRoundKey โ XOR
- 4ร4 matrix (state)
- W[i] formula
- g() = RotWord + SubWord + Rcon
- inverse operations
- ECB (bad)
- CBC
- CTR
- public key + private key
- trapdoor function
- easy forward, hard reverse
- RSA
- Diffie-Hellman
- ECC
- sign with private key
- verify with public key
If time is low, focus on:
- AES full flow
- Key schedule
- Symmetric vs Asymmetric
- Prime + mod + GCD
- Attacks
- Modes (ECB, CBC, CTR)
- Digital signature
- History slides
- long examples
-
Practice:
- XOR
- mod arithmetic
- AES steps order
-
Memorize:
- AES flow
- definitions