Werbung

Variable Verschiebungschiffre

Jeder Buchstabe wird um seine Positionsnummer verschoben (1. +1, 2. +2 usw.).

Lernen

Jeder Buchstabe wird um seine Positionsnummer verschoben (1. +1, 2. +2 usw.).

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

So erkennen Sie es

  • Different shifts for each position
  • First letter always shifts by 1
  • Pattern: 1st +1, 2nd +2, 3rd +3...

Häufige Fehler

  • Using same shift for all letters
  • Forgetting to wrap around Z back to A
  • Miscounting positions (starting from 0 vs 1)

Schritt-für-Schritt-Lösung

Verschlüssle 'CAT' mit variabler Verschiebung (Position 1 = +1, Position 2 = +2, usw.)

  1. C ist an Position 1. Verschiebung +1: C (3. Buchstabe) + 1 = D
  2. A ist an Position 2. Verschiebung +2: A (1. Buchstabe) + 2 = C
  3. T ist an Position 3. Verschiebung +3: T (20. Buchstabe) + 3 = W

Antwort: DCW

Übungshinweise

Kodierung und Dekodierung

Werbung