About this interactive
A cipher needs three things: the message, the algorithm, and a key. This activity practises the key, the way the lesson did.
First, shifting. A key of 3 moves every letter three places along the alphabet, so A becomes D and CAB becomes FDE. To decrypt, shift back by the same amount. When a shift runs past Z it wraps around to A, so with a key of 8, S becomes A and T becomes B. A longer key such as 8, 2 alternates between two shifts, which is why the two E letters in SECRET come out as different letters and the easy "most common letter" trick stops working.
Second, bits. Computer keys are measured in bits, and each bit can be 0 or 1. One bit gives 2 possible keys, two bits give 4, three bits give 8. The rule is 2 to the power of the number of bits: 8 bits is 256 possible keys, 10 bits is 1,024. Every bit you add doubles the number of keys an attacker would have to try. That is why DES, whose key is 64 bits long but only 56 of them count, could eventually be cracked, and why AES starts at 128 bits.
Third, the one-time pad, the one cipher that is theoretically uncrackable. Its key must be at least as long as the message, completely random, kept completely secret, and never used again. Break any one of those rules and the guarantee is gone.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →