Monoalphabetic · Codebusters event cipher
Affine
Multiply, then shift. A Caesar cipher with a second gear.
The course · 8 lessons, then the final test
01What is Affine?
Multiply, then shift. A Caesar cipher with a second gear.
Number the letters A=0 to Z=25. Each letter x becomes (a·x + b) mod 26. The multiplier a must share no factor with 26, which leaves twelve usable values. To decrypt, subtract b and multiply by the inverse of a mod 26.
- Plaintext
- MEET AT NOON
- Key
- a = 5, b = 8
- Ciphertext
- QCCZ IZ VAAV
02Decoding step by step
LockedCreate a free account to unlock the course.
03A full worked example
LockedCreate a free account to unlock the course.
04Spotting it on the paper
LockedCreate a free account to unlock the course.
05Solving tips and strategy
LockedCreate a free account to unlock the course.
06Breaking it without the full key
LockedCreate a free account to unlock the course.
07Common mistakes
LockedCreate a free account to unlock the course.
08At competition pace
LockedCreate a free account to unlock the course.
Review lessons
LockedUnlock these by passing all 8 lesson quizzes and the final test.
R1Review: the method on one card
LockedCreate a free account to unlock the course.
R2Review: breaking and checking
LockedCreate a free account to unlock the course.
R3Review: master's round
LockedCreate a free account to unlock the course.