CBC (Cipher Block Chaining) โ Most common. Requires IV. Each block XORed with previous ciphertext. ECB (Electronic Codebook) โ Simple but insecure. Same plaintext = same ciphertext. Avoid for sensitive data. CTR (Counter) โ Stream cipher mode. Parallelizable. Good for large data. CFB (Cipher Feedback) โ Self-synchronizing stream mode. OFB (Output Feedback) โ Keystream independent of plaintext. GCM (Galois/Counter) โ Authenticated encryption. Recommended for secure comms.
SECURITY LEVELS
128
bits โ 2ยนยฒโธ combos
192
bits โ 2ยนโนยฒ combos
256
bits โ Quantum safe
PBKDF2: Converts a password to a cryptographic key using salt + iterations. Prevents brute-force attacks. IV: Initialization Vector ensures identical plaintexts encrypt to different ciphertexts when reusing the same key. โ ๏ธ Never reuse the same IV with the same key!