ประเภทของ Keys (Key Types)
1. Symmetric Key (คีย์สมมาตร)
ใช้คีย์เดียวกันทั้งเข้ารหัสและถอดรหัส ต้องมีคีย์เดียวกับที่ใช้เข้ารหัส เพื่อถอดรหัส Symmetric Encryption = มีประสิทธิภาพมากกว่า Asymmetric → เลือกใช้เมื่อส่งข้อมูลปริมาณมาก
2. Asymmetric Key (คีย์อสมมาตร)
ใช้ 2 คีย์ที่แยกกันแต่เกี่ยวข้องทางคณิตศาสตร์ Public Key เข้ารหัส, Private Key ถอดรหัส Asymmetric Key Authentication: ใช้ Verification Key ใน CAD ต่างจาก Proving Key ของ Smart Card ใช้ Trapdoor One-way Functions: Smart Card Sign ด้วย Private Key, CAD Verify ด้วย Public Key
3. Public Key (คีย์สาธารณะ)
Public-key Cryptography: User มี Key Pair (Public + Private) ปัญหา: พิสูจน์ว่า Public Key แท้ ไม่ถูก Tamper โดย Third Party ร้าย แก้ด้วย PKI (Public-key Infrastructure): Certificate Authorities (CA) รับรอง Key Pairs
4. Private Key (คีย์ส่วนตัว)
Code สั้น จับคู่กับ Public Key ตั้งค่า Algorithm เข้ารหัส/ถอดรหัส สร้างระหว่าง Asymmetric-key Encryption ถอดรหัสและแปลงข้อความ readable Public/Private Keys จับคู่สำหรับ Secure Communication (Email) Private Key ส่วนหนึ่งของ Asymmetric Key Pair ใช้ใน Asymmetric Encryption (ใช้คีย์เดียวกันเข้ารหัส/ถอดรหัส)
5. Pre-Shared Key (PSK)
Shared Secret ที่แชร์ระหว่าง 2 ฝ่ายผ่าน Secure Channel ก่อนใช้งาน ใช้ใน Wi-Fi Encryption (WEP/WPA): Wireless AP และ Users แชร์ Key เดียวกัน Characteristics ขึ้นกับระบบ: Password, Passphrase, หรือ Hex String