Werbung

Caesar-Chiffre

Jeder Buchstabe wird um eine feste Anzahl von Positionen im Alphabet verschoben.

Lernen

Jeder Buchstabe wird um eine feste Anzahl von Positionen im Alphabet verschoben.

The Caesar cipher shifts each letter by a fixed number of positions. If the shift is 3, A becomes D, B becomes E, and so on. At the end of the alphabet, it wraps around: X→A, Y→B, Z→C (with shift 3). Named after Julius Caesar who reportedly used a shift of 3 for military messages.

Shifted letter = (Original position + Shift) mod 26. With shift=3: A→D, B→E, C→F, ..., X→A, Y→B, Z→C

  • Shift 1: CAT → DBU
  • Shift 3: HELLO → KHOOR
  • Shift 5: APPLE → FUUQJ

So erkennen Sie es

  • All letters shifted by the same amount
  • Key shows consistent pattern (A→D, B→E means shift 3)
  • Wraps around at Z back to A

Häufige Fehler

  • Forgetting to wrap around (Y+3 should be B, not beyond Z)
  • Shifting in the wrong direction for decoding
  • Not identifying the shift value from given examples

Schritt-für-Schritt-Lösung

Verschlüssle 'HELLO' mit Caesar-Chiffre Verschiebung 3

  1. H ist der 8. Buchstabe. Plus 3: Position 11 = K
  2. E ist der 5. Buchstabe. Plus 3: Position 8 = H
  3. L ist der 12. Buchstabe. Plus 3: Position 15 = O
  4. L erneut: Position 15 = O
  5. O ist der 15. Buchstabe. Plus 3: Position 18 = R

Antwort: KHOOR

Übungshinweise

Kodierung und Dekodierung

Werbung