AiTeky Original Interactive Learning & Practice Intermediate
Cryptography you can use: hashes, authentication, keys and signatures
See how a hash detects a single changed character, why reusing a key and nonce leaks secrets, how a message authentication code and a digital signature prove who sent a message, and design signed webhooks that resist tampering and replays.
Cryptography is the maths behind passwords, HTTPS, payments, signed software and messaging apps. You will almost never write your own cipher, and that is the point of this course: to know what each tool promises, what it does not promise, and how people misuse it. Every idea runs as a small program in your browser, using Python's standard hashlib, hmac and secrets.
The toy ciphers in this course exist only to make a principle visible. Never use a toy cipher, or a home-made scheme, for real data. Use a well-reviewed library with its recommended settings. All messages and keys here are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
You need basic Python. No mathematics beyond multiplication and remainders is needed.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 00 25 min π AiTeky Pass Start here: hash, encrypt and sign are three different tools Learn what a hash, an encryption and a signature each do, and why choosing the wrong one, such as storing a password with a reversible method, is a serious mistake.
- 01 30 min Free sample π AiTeky Pass Hashes: a fingerprint for data Compute SHA-256 fingerprints, watch one changed letter change about half of the bits, use a hash to check that a download is intact, and see why short hashes collide quickly while long ones do not.
- 02 35 min π AiTeky Pass Secret keys, nonces and authentication tags Build a toy stream cipher to see how one shared secret key encrypts and decrypts, find out why using the same key and nonce twice leaks both messages, and add a message authentication code (HMAC) so tampering is detected, with a clear warning never to use home-made ciphers.
- 03 35 min π AiTeky Pass Public keys and digital signatures Build a toy RSA key pair from two primes, sign a message with the private key and verify it with the public key, see that a changed message fails verification, and measure why breaking the key by factoring becomes impossible as the numbers grow.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

