Decodeling

Monoalphabetic · Codebusters event cipher

Affine

Multiply, then shift. A Caesar cipher with a second gear.

The course · 8 lessons, then the final test

  1. 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
  2. 02Decoding step by step

    Locked

    Create a free account to unlock the course.

  3. 03A full worked example

    Locked

    Create a free account to unlock the course.

  4. 04Spotting it on the paper

    Locked

    Create a free account to unlock the course.

  5. 05Solving tips and strategy

    Locked

    Create a free account to unlock the course.

  6. 06Breaking it without the full key

    Locked

    Create a free account to unlock the course.

  7. 07Common mistakes

    Locked

    Create a free account to unlock the course.

  8. 08At competition pace

    Locked

    Create a free account to unlock the course.

Review lessons

Locked

Unlock these by passing all 8 lesson quizzes and the final test.

  1. R1Review: the method on one card

    Locked

    Create a free account to unlock the course.

  2. R2Review: breaking and checking

    Locked

    Create a free account to unlock the course.

  3. R3Review: master's round

    Locked

    Create a free account to unlock the course.