BiTree
  • Search For Lessons
  • Curriculum
  • Pricing
  • For Educators
  • Become a Tutor
  • About
  • Contact
Log InGet Started

Questions, concerns, bug reports, or suggestions? We read every message, write to us at [email protected].

More ways to reach us →
BiTree

Live coding lessons for aspiring developers and security professionals.

[email protected]

(201) 785-7951

Mon–Fri, 9 AM–5 PM EST

Learn

  • Search For Lessons
  • Curriculum
  • Pricing

Company

  • About
  • For Educators & Schools
  • Become a Tutor
  • Contact Us

Legal

  • Terms of Service
  • Privacy Policy
© 2026 BiTree. All rights reserved.
Curriculum/Cybersecurity/Cryptography/What Cryptography Protects
20 minBeginner

What Cryptography Protects

After this lesson, you will be able to: Understand the three goals cryptography provides (confidentiality, integrity, authenticity) and the three families of primitives that deliver them.

Cryptography is the math underneath every secure system: HTTPS, password storage, signed software, messaging apps. This subtrack takes you from zero to being able to choose and use the right primitive correctly. It covers symmetric and asymmetric encryption, hashing and HMAC, key exchange and signatures, TLS 1.3, and practical guidance on which library to use and what never to build yourself.

This is a free introductory lesson. No purchase required.

What cryptography actually protects

Three goals. Confidentiality: only the intended party can read the data (encryption). Integrity: tampering is detectable (hashes, MACs). Authenticity: you know who you are talking to (signatures, certificates). Most real systems need all three at once. HTTPS, for example, encrypts (confidentiality), checks message integrity, and authenticates the server with a certificate.

The three families of primitives

Symmetric encryption: one shared key encrypts and decrypts; fast, used for bulk data (AES). Asymmetric encryption: a public/private key pair; slower, used to exchange keys and to sign (RSA, ECC). Hash functions: one-way fingerprints of data; used for integrity, passwords, and signatures (SHA-256). Real protocols combine them: asymmetric crypto bootstraps a shared symmetric key, then symmetric crypto does the heavy lifting.

💡 The first rule of practical cryptography

Do not implement cryptographic primitives yourself. Use vetted libraries (libsodium, the Web Crypto API, Python's cryptography). The algorithms in this subtrack are taught so you understand and choose them correctly, not so you write your own AES. Homegrown crypto is how systems get broken.

Back to Cryptography
Symmetric Encryption: AES and Modes→