πŸ“Š
Lesson 10

COMPLETE COLUMNAR

Rearrange columns, not letters

What is Transposition?

How Columnar Transposition Works

Key: CARGO (C=1, A=2, R=4, G=3, O=5)
C A R G O
1 2 4 3 5
W E A R E
C O D E B
U S T E R
S X X X X

Completing the Rectangle

Read column 1 first, then 2, 3, 4, 5 β€” always in key-number order.

Encryption β€” Reading Off Columns

Grid from previous slide (key order: 1=C, 2=A, 3=G, 4=R, 5=O)
Col 1 (C): WCUS
Col 2 (A): EOSX
Col 3 (G): EEEX
Col 4 (R): ADTE
Col 5 (O): EBER
Ciphertext
WCUS EOSX EEEX ADTE EBER

Decryption Process

For C-type: you must figure out the key length. Try lengths 4–8 and see which produces readable text.

Finding Key Length (Cryptanalysis)

Key Takeaways

Homework: encrypt "WEARECODEBUSTERS" with key "MATH" and verify by decrypting.