Leren
Elke letter verschuift met zijn positienummer (1e +1, 2e +2, enz.).
Unlike the Caesar cipher where all letters shift by the same amount, the variable shift cipher uses position-dependent shifting. The first letter shifts by 1, the second by 2, and so on. This makes the cipher harder to break since the same letter can encode differently based on its position.
Letter at position N shifts forward by N positions. Position 1: +1, Position 2: +2, Position 3: +3, etc.
- CAT -> D(C+1) C(A+2) W(T+3) = DCW
- HELLO -> I(H+1) G(E+2) O(L+3) P(L+4) T(O+5) = IGOPT
Zo herkent u het
- Different shifts for each position
- First letter always shifts by 1
- Pattern: 1st +1, 2nd +2, 3rd +3...
Veelgemaakte fouten
- Using same shift for all letters
- Forgetting to wrap around Z back to A
- Miscounting positions (starting from 0 vs 1)
Stapsgewijze uitwerking
Codeer 'CAT' met variabele verschuiving (positie 1 = +1, positie 2 = +2, enz.)
- C staat op positie 1. Verschuif +1: C (3e letter) + 1 = D
- A staat op positie 2. Verschuif +2: A (1e letter) + 2 = C
- T staat op positie 3. Verschuif +3: T (20e letter) + 3 = W
Antwoord: DCW