Cryptography basics
Encoding, hashing, encryption, signatures and certificates, used safely
Understand what each cryptographic tool does and does not do: why encoding is not secrecy, how hashes and passwords relate, what encryption modes get wrong, and how signatures and certificates build trust.
beginner level, about 15 hours, 5 units, 16 labs.
Syllabus
Who it is for
Beginners who want to use cryptography correctly without a maths background. No algebra needed: the lessons explain what each tool promises and where people go wrong.
By the end you will be able to
- Tell encoding, hashing, encryption and signing apart and pick the right one for a goal.
- Explain how passwords should be stored and why speed is the enemy of a password hash.
- Explain why encryption mode and randomness matter and why you should use a maintained library.
- Describe what a digital signature proves and what it does not.
- Read a TLS certificate and explain how a certificate authority, a chain of trust and a lifetime fit together.
Before you start
- Recommended: unit 1 introduces encoding, and unit 5 shows where TLS fits in a web request.
Units
- Unit 1: Encoding, hashing and encryption are different: You will be able to tell encoding, hashing and encryption apart and say which one fits a goal.
- Unit 2: Hashes in practice: integrity and passwords: You will be able to explain how passwords should be stored, what a salt and a work factor do, and what HMAC adds to a hash.
- Unit 3: Symmetric encryption, modes and randomness: You will be able to explain why the mode of encryption and the source of randomness matter and why you should use a maintained library.
- Unit 4: Public-key cryptography and digital signatures: You will be able to explain what a digital signature proves and what it does not.
- Unit 5: Certificates, TLS and looking after keys: You will be able to read a TLS certificate and explain how trust, lifetime and key care fit together.
- Capstone: Capstone: guard a certificate's lifetime and replay a trusted-update attack
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.
See all classes. Certifications are exams run by other organizations; compare them on the certification pages.