Security foundation
Mã hóa, hashing, Fernet, AES và RSA
Chọn primitive theo security goal: confidentiality, integrity, authenticity, password verification hay digital signature; hiểu key, nonce, salt và failure mode trước khi gọi API.
Thuật ngữ: hash không phải “mã hóa một chiều” vì không có thao tác decrypt. Fernet là authenticated symmetric encryption recipe; dữ liệu giải mã được khi có secret key.
8 chương
Encoding, hash/MAC, password hashing, AES/Fernet, RSA/signature và key lifecycle.
Interview28 câu hỏi
Reasoning, trade-off và lỗi production.
Executable8 labs
Hash, password KDF, AES-GCM, Fernet, RSA-OAEP/PSS và rotation.
ReviewChecklist
Primitive selection, key management và evidence.