Skip to content
KALANBLON

Path

Cryptography

From the secret messages of Antiquity to elliptic curves: encrypt, hash, authenticate, exchange keys, sign and verify certificates, then recognise the attacks that target implementations and prepare the post-quantum migration. Every idea is programmed in Python, and every attack is demonstrated in a simulation so you learn how to defend against it.

4 courses6 h 40
Start the path

Path steps

  1. Step 1Beginner1 h 25

    Cryptography: getting started with secret messages

    How do you keep a message secret, and how do you know nobody changed it? You start from the ciphers of Antiquity, which you break yourself in a few lines of Python, then discover the XOR operation and the one-time pad, the only perfect cipher. You then learn what a fingerprint (hash) is and why it protects a download. You finish with your own secret notebook, encrypted and checked, knowing exactly why you must never use it for real secrets.

  2. Step 2Intermediate1 h 45

    Applied cryptography: encrypting, authenticating and exchanging keys

    How do two phones that have never met agree on a secret key, in the middle of a network full of eavesdroppers? You discover how a small key produces a keystream, why ECB mode betrays images, how an HMAC prevents a message from being forged, then the Diffie-Hellman key exchange and the man-in-the-middle attack. You finish by assembling a complete encrypted messaging channel: key exchange, derivation, authenticated encryption and rejection of replayed messages.

  3. Step 3Advanced1 h 45

    Public-key cryptography: RSA, signatures and certificates

    How does your browser know that the site displayed really is your bank's? You build RSA from modular arithmetic: inverses, the Miller-Rabin primality test, key generation, encryption and decryption. You discover why "textbook" RSA is dangerous, then you sign documents and verify signatures. You finish by creating a small certificate authority, with a chain of trust, expiry dates and a revocation list, like the ones that protect HTTPS.

  4. Step 4Expert1 h 45

    Expert cryptography: elliptic curves, attacks and engineering choices

    The algorithms are solid; it is the implementations that fall. You program elliptic-curve arithmetic and key exchange on secp256k1, then ECDSA signatures, and you recover a private key from two signatures that share the same nonce, as happened with the PS3 console. You then study side-channel attacks (timing, execution traces), the quantum threat and the new post-quantum standards. You finish with the complete cryptographic audit of an online savings-circle (tontine) app.

Path certificate: it will be issued once you hold the certificates of every course in the path (and have passed its projects). This feature comes with the public release.