โ† Computer Science Fundamentals learning path
Computer Science Fundamentals ยท Module 9 of 10

Security basics

Core ideas that keep systems and data safe.

๐Ÿ“– Key ideas

  1. The CIA triad: confidentiality, integrity, availability.
  2. Hashing (SHA-256, bcrypt) turns data into a fixed fingerprint; passwords should be hashed with salt.
  3. Symmetric encryption uses one key; asymmetric uses a public and private key pair.
  4. Common attacks: phishing, SQL injection, XSS, malware.
  5. Least privilege and updates reduce risk.
๐Ÿ’ก Real-life example: Like a bank: only you see your balance (confidentiality), nobody can change it secretly (integrity), and the bank opens when you need it (availability).
CIA triadConfidentiality, integrity, availability
HashOne-way fingerprint of data
Public keyKey you can share to receive encrypted data
PhishingTricking people into giving secrets