CryptoLearn

A free, interactive course on cryptography — from the Caesar cipher to post-quantum algorithms. Live encoder widgets, math playgrounds, quizzes, and hands-on challenges. No account, no build tools, just open and learn.

How to use this site
Work through the sections in order if you're new — each one builds on the last. Already know the basics? Jump straight to the section you need. Every page has interactive widgets (try them, break them) and a quiz at the end. Section 10 has challenges to test everything you've learned.

Course Map

Why learn cryptography?

Cryptography is the invisible infrastructure of the digital world. Every HTTPS page load, every chat message, every card payment, every software update relies on it. Understanding it makes you a better developer, a better security engineer, and a harder target. Misunderstanding it causes real breaches — Section 8 is full of examples.

Golden rule
Don't roll your own crypto. This course teaches you how the algorithms work so you can use them correctly — not so you can invent your own. The implementation exercises in Section 10 are for learning, never for production.