Learning
If you like to tinker, start with the hands-on tools. Khan Academy's series needs no maths; Dan Boneh's Stanford course needs plenty. The guides at the end show how to switch on passkeys, encrypted backups and two-factor codes on your own phone and accounts.
Learn by doing
Try ciphers, hashes and real attacks yourself, in your browser or in code.
-
Simon SinghBeginner
Try encrypting and cracking historical ciphers in your browser.
-
CrypTool projectBeginner
Dozens of browser tools for playing with ciphers, hashes and RSA.
-
The Cryptopals Crypto Challenges
CryptopalsExercisesAdvanced
Coding challenges where you break real cryptographic mistakes yourself.
-
The Illustrated TLS 1.3 Connection
Michael DriscollIntermediate
Every byte of a real secure web connection, explained step by step.
Courses
University courses and lecture series. Most are free to take or to audit; paid ones are marked.
-
Khan AcademyBeginner
Free, gentle lessons from ancient ciphers to RSA, with videos and exercises.
-
Dan Boneh, Stanford, on CourseraIntermediatePaid
The most widely taken online university course on cryptography, taught by Dan Boneh of Stanford.
-
Jonathan Katz, University of Maryland on CourseraIntermediatePaid
A more mathematical introduction that defines what it means for encryption to be secure and then builds private-key and public-key schemes on that basis; full access is through Coursera's paid track.
-
Introduction to Cryptography by Christof Paar
Christof Paar, Ruhr University Bochum (YouTube, 2014)Lecture seriesIntermediate
Two dozen full university lectures, filmed in the classroom, that walk from historical ciphers through AES, RSA, elliptic curves and hash functions with clear blackboard working.
-
CS255: Introduction to Cryptography
Dan Boneh, Stanford University (Winter 2025)Advanced
The course page for Stanford's own cryptography class, with the syllabus, readings and recorded lecture videos for anyone who wants the full undergraduate version.
-
A Graduate Course in Applied Cryptography
Dan Boneh and Victor Shoup (free online textbook)GuideAdvanced
The free textbook that sits behind the Stanford courses, useful as a reference once you want proofs and precise definitions rather than intuition.
-
Cryptography and Cryptanalysis
MIT OpenCourseWare (6.875, Spring 2005)Advanced
MIT's rigorous course notes and problem sets on public-key encryption, digital signatures and pseudo-random number generation, aimed at readers comfortable with mathematical proofs.
-
MIT OpenCourseWare (6.857, Spring 2014)Advanced
An upper-level MIT course that places encryption alongside the wider job of securing networks and systems, with lecture notes and problem sets.
-
Describe concepts of cryptography
Microsoft LearnBeginner
A short self-paced module covering encryption, hashing, digital signing and certificates in plain terms, written for people new to security.
-
Developing Secure Software (LFD121)
Linux Foundation with OpenSSFIntermediate
A self-paced course for software developers that includes a module on using cryptography correctly, useful for anyone who writes code that handles secrets.
-
What is post-quantum cryptography (PQC)?
Cloudflare Learning CenterGuideBeginner
A plain-language explainer from a company that already runs post-quantum key exchange across much of the web, setting out why quantum computers threaten today's public-key encryption and what replaces it.
-
Selected Areas in Cryptology (Spring 2022, Part I)
Tanja Lange, Eindhoven University of TechnologyLecture seriesAdvanced
A university course on post-quantum cryptography by one of its leading researchers, with recorded video lectures, notes and past exams on quantum algorithms and code-based and other quantum-resistant schemes.
-
SEC529: Post-Quantum Cryptography
SANS InstituteIntermediatePaid
A one-day instructor-led course with hands-on labs on planning a move to quantum-resistant cryptography, including building an inventory of where encryption is used; aimed at security professionals and priced accordingly.
Video lessons
Short videos that teach one idea step by step.
-
Asymmetric Encryption - Simply explained
Simply ExplainedIntermediate
Public and private keys in under five minutes, with simple animations.
-
Art of the ProblemIntermediate
The paint-mixing explanation of key exchange that many teachers copy.
-
Public Key Cryptography: RSA Encryption
Art of the ProblemIntermediate
How RSA works, told as a story, with very gentle maths.
-
ComputerphileIntermediate
A university lecturer sketches public-key ideas on paper.
-
Secret Key Exchange (Diffie-Hellman)
ComputerphileIntermediate
The same idea as the paint video, with a little more of the real maths.
-
How secure is 256 bit security?
3Blue1BrownIntermediate
A memorable way to picture just how large 2 to the power of 256 is.
-
But how does bitcoin actually work?
3Blue1BrownIntermediate
Hashes and digital signatures explained through Bitcoin.
-
How Quantum Computers Break Encryption: Shor's Algorithm Explained
minutephysicsIntermediate
A clear non-technical explanation of how Shor's algorithm works.
-
PBS Infinite SeriesIntermediate
The maths behind Shor's algorithm for viewers who enjoy a bit of number theory.
-
Computerphile, with Mike PoundIntermediate
Lattices, learning with errors and hybrid key exchange, explained by a Nottingham lecturer.
-
Hashing Algorithms and Security - Computerphile
Computerphile (2013)Beginner
Explains what a hash function does, why the same input always gives the same fingerprint, and how that is used to store passwords and check files.
-
What are Digital Signatures? - Computerphile
Computerphile (2020)Beginner
Shows how a private key can sign a message so that anyone with the public key can check who sent it and that it was not altered.
-
End to End Encryption (E2EE) - Computerphile
Computerphile (2017)Beginner
Draws the difference between encryption that the service provider can read and end-to-end encryption that only the two people talking can.
-
How Passkeys Work - Computerphile
Computerphile (2025)Beginner
Walks through how a passkey uses a key pair held on your device to prove who you are without sending a password that could be phished or leaked.
-
Transport Layer Security (TLS) - Computerphile
Computerphile (2020)Intermediate
Steps through the TLS handshake that runs every time a browser shows the padlock, covering key exchange, certificates and the switch to fast symmetric encryption.
-
AES Explained (Advanced Encryption Standard) - Computerphile
Computerphile (2019)Intermediate
Takes the cipher that protects most stored and transmitted data and works through its rounds of substitution, shifting and mixing on a grid of bytes.
-
Elliptic Curves - Computerphile
Computerphile (2018)Intermediate
Explains the curve arithmetic behind most modern key exchange and why it gives the same security as RSA with much shorter keys.
-
How Signal Instant Messaging Protocol Works (& WhatsApp etc) - Computerphile
Computerphile (2018)Intermediate
Explains how Signal, and WhatsApp which uses the same protocol, keeps changing its keys as you chat, so a stolen key cannot unlock earlier messages and later ones become safe again once new keys are swapped.
-
Lattice-based cryptography: The tricky math of dots
Chalk Talk (Kelsey Houston-Edwards, 2023)Intermediate
Uses drawings of grids of dots to show the hard geometry problems that most post-quantum encryption now rests on.
-
Learning with errors: Encrypting with unsolvable equations
Chalk Talk (Kelsey Houston-Edwards, 2023)Intermediate
Follows on from the lattice video to show how adding small deliberate errors to simple equations makes them hard to solve, the idea behind the ML-KEM standard.
-
Lecture 8: Advanced Encryption Standard (AES) by Christof Paar
Introduction to Cryptography by Christof Paar (2014)Advanced
A full ninety-minute university lecture that builds AES layer by layer on the blackboard, for readers who want more than the short explainers.
-
Chris Peikert - Lattice Cryptography for the Internet
Institute for Quantum Computing (PQCrypto 2014)Advanced
A conference talk by a leading lattice researcher on making lattice-based key exchange practical for internet protocols, the line of work that led to today's post-quantum TLS.
-
What are passkeys? Explained in under 4 minutes
Microsoft SecurityBeginner
A short official explainer on how passkeys replace passwords.
-
Post-quantum cryptography: Security after Shor’s algorithm
Chalk TalkIntermediate
A whiteboard explanation of why new algorithms are needed once Shor's algorithm is practical.
-
Lecture 23: Introduction to Hash-based Post-quantum Cryptography (PQC) by Christof Paar
Introduction to Cryptography by Christof PaarAdvanced
A full university lecture on hash-based post-quantum signatures.
Protect yourself: how-to guides
How to switch on the protections described in the glossary, on your own phone, computer and accounts.
-
Sign in with a passkey instead of a password
Google Account HelpBeginner
Google's own steps for creating a passkey on your phone or computer so you can sign in to your Google Account with a fingerprint, face or screen lock.
-
Use passkeys to sign in to websites and apps on iPhone
Apple Support (UK)Beginner
Apple's iPhone guide to saving a passkey for a website or app and signing in with Face ID or Touch ID, with the passkey synced through iCloud Keychain.
-
Microsoft SupportBeginner
Microsoft's steps for adding a passkey to a Microsoft account and choosing where it is stored, so you can sign in with your face, fingerprint or PIN.
-
Google Account HelpBeginner
Google's steps for adding a second sign-in check to your Google Account, with the choice of prompts, codes, passkeys or a security key.
-
What is two-factor authentication for Apple Account? | Apple Support
Apple UK (2026)How-to videoBeginner
A short official video showing how two-factor authentication protects an Apple Account and how the verification code reaches your trusted devices.
-
How to: Enable Two-factor Authentication
EFF Surveillance Self-DefenseBeginner
An independent guide to the different kinds of second factor, from text messages to authenticator apps and security keys, and which ones resist which attacks.
-
Get verification codes with Google Authenticator
Google Account HelpBeginner
Google's steps for setting up the Authenticator app so that your phone produces a fresh sign-in code every 30 seconds, even without a signal.
-
How to turn on Advanced Data Protection for iCloud
Apple Support (UK)Beginner
Apple's steps for extending end-to-end encryption to iCloud backups, photos and notes; note that Apple has withdrawn the feature for new users in the UK, as explained at support.apple.com/en-gb/122234.
-
About end-to-end encrypted backup
WhatsApp Help CenterBeginner
WhatsApp's explanation of how to lock your chat backup in Google Drive or iCloud with a password or 64-digit key so that neither WhatsApp nor the cloud provider can read it.
-
What is a safety number and why do I see that it changed?
Signal SupportBeginner
Signal's guide to comparing safety numbers with a contact in person or by scanning a code, which confirms nobody is sitting in the middle of your conversation.
-
Protect data on your Mac with FileVault
Apple Support (UK)Beginner
Apple's steps for encrypting everything on a Mac's drive so that a lost or stolen laptop gives up nothing without your password.
-
Microsoft SupportBeginner
Microsoft's guide to checking whether your Windows PC encrypts its drive and turning device encryption or BitLocker on, including where the recovery key is kept.
-
EFF Surveillance Self-DefenseBeginner
An independent guide to what a password manager does, the trade-offs between built-in and stand-alone ones, and what to look for before trusting one with every login.
-
Check if a site's connection is secure
Google Chrome HelpBeginner
Google's guide to reading the icons and warnings in Chrome's address bar, which tell you whether your connection to a site is encrypted and whether Chrome has found a problem with it.
-
How to find saved passwords and passkeys in the Passwords app on iPhone and iPad
Apple SupportHow-to videoBeginner
Apple's own short video on finding and managing passwords and passkeys.
-
Top tips for staying secure online
UK NCSCBeginner
The UK government's short checklist for protecting accounts and devices.