AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Old codes, fingerprints and block locks: how secrets get broken and how to keep them

Break a simple shift code in a few lines, see why a fast fingerprint is the wrong way to keep logins and what slow salted checks fix, and watch a block lock used the wrong way show a hidden pattern, then fix it with chaining, a counter and a seal.

Keeping a secret is old work, and most real breaks come from a few repeating mistakes: a code with too few keys, a fast check an attacker can run a billion times, or a lock used in a way that leaks patterns. This course follows a developer on a small team who has to fix each of those in turn.

The Python code in each lesson runs in your browser. The locks in it are small stand-ins built only from standard tools, so the ideas can run anywhere; the real library calls are shown beside them. Never use the stand-ins in real software.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min 🔒 AiTeky Pass Goals of cryptography and classical ciphers as a warm-up Name what secret-keeping tries to achieve, then break a shift code by trying every key and by counting letters, see why a repeating key only slows the attacker, and meet the one-time pad, the only code that cannot be broken, and the rule that makes it fragile.
  2. 02 30 min 🔒 AiTeky Pass Hash functions, salting and password storage See how a hash function gives every input a short fingerprint where one changed letter changes half the bits, why a plain fingerprint of a password is easy to reverse by lookup, how a random salt and many rounds slow an attacker, and how to check a login safely.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 35 min 🔒 AiTeky Pass Symmetric encryption: AES, modes of operation and why ECB fails Build a small block lock from standard tools, use it the wrong way (each block alone) and see a pattern show through, fix it with chaining and with a counter, watch a reused counter leak and an unsealed message get altered, then add a seal. Ends with interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in