Home > College Algebra > Ciphers > Double Transposition Cipher (encoder / decoder) example

14. Double Transposition Cipher example (encoder / decoder) ( Enter your problem )
  1. Examples
Other related methods
  1. A1Z26 Cipher (Letter to number Cipher)
  2. ADFGVX Cipher
  3. ADFGX Cipher
  4. Affine Cipher
  5. Alberti Cipher
  6. Atbash Cipher
  7. Autokey Cipher / Autoclave Cipher
  8. Bacon Cipher
  9. Beaufort Cipher
  10. Bifid Cipher
  11. Caesar Cipher
  12. Chaocipher
  13. Columnar transposition Cipher
  14. Double Transposition Cipher
  15. Enigma machine Cipher
  16. Four Square Cipher
  17. Gronsfeld Cipher
  18. Hill Cipher
  19. Kamasutra Cipher | Vatsyayana Cipher
  20. Morse Code Translator
  21. Multiplicative Cipher | Decimation Cipher
  22. Nihilist Cipher
  23. Playfair Cipher
  24. Polybius Square Cipher
  25. Porta Cipher
  26. Rail fence Cipher
  27. ROT-5 Cipher
  28. ROT-13 Cipher
  29. ROT-18 Cipher
  30. ROT-47 Cipher
  31. ROT-N Cipher
  32. Running Key Cipher
  33. Substitution Cipher
  34. Tap code Cipher | Knock code Cipher
  35. Three Square Cipher
  36. Trifid Cipher
  37. Trithemius Cipher
  38. Two-square Cipher
  39. Vigenere Cipher

13. Columnar transposition Cipher
(Previous method)
15. Enigma machine Cipher
(Next method)

1. Examples





1. Double Transposition Cipher encoder

Text : ABCD efghi 1234
Key1 : key
Key2 : word
Remove Special Characters (except a-z0-9) : True


Solution:
The double transposition cipher applies on columnar transposition cipher twice with two keys

Columnar transposition on Plaintext using Key1 : key

Write the plaintext in row-by-row
k
2
e
1
y
3
abc
def
ghi
123
4__

The columns are sorted alphabetically, based on the keyword and the new table is
e
1
k
2
y
3
bac
edf
hgi
213
_4_

Read the ciphertext in column-by-column
beh2,adg14,cfi3

Plaintext : abcdefghi1234
Key : key
Ciphertext : beh2adg14cfi3

Columnar transposition on this Ciphertext-1 using Key2 : word

Write the plaintext in row-by-row
w
4
o
2
r
3
d
1
beh2
adg1
4cfi
3___

The columns are sorted alphabetically, based on the keyword and the new table is
d
1
o
2
r
3
w
4
2ehb
1dga
icf4
___3

Read the ciphertext in column-by-column
21i,edc,hgf,ba43

Plaintext : beh2adg14cfi3
Key : word
Ciphertext : 21iedchgfba43

Plaintext : abcdefghi1234
Key1 : key
Ciphertext-1 : beh2adg14cfi3
Key2 : word
Ciphertext : 21iedchgfba43

2. Double Transposition Cipher encoder

Text : hello world 1234
Key1 : key
Key2 : word
Remove Special Characters (except a-z0-9) : True


Solution:
The double transposition cipher applies on columnar transposition cipher twice with two keys

Columnar transposition on Plaintext using Key1 : key

Write the plaintext in row-by-row
k
2
e
1
y
3
hel
low
orl
d12
34_

The columns are sorted alphabetically, based on the keyword and the new table is
e
1
k
2
y
3
ehl
olw
rol
1d2
43_

Read the ciphertext in column-by-column
eor14,hlod3,lwl2

Plaintext : helloworld1234
Key : key
Ciphertext : eor14hlod3lwl2

Columnar transposition on this Ciphertext-1 using Key2 : word

Write the plaintext in row-by-row
w
4
o
2
r
3
d
1
eor1
4hlo
d3lw
l2__

The columns are sorted alphabetically, based on the keyword and the new table is
d
1
o
2
r
3
w
4
1ore
ohl4
w3ld
_2_l

Read the ciphertext in column-by-column
1ow,oh32,rll,e4dl

Plaintext : eor14hlod3lwl2
Key : word
Ciphertext : 1owoh32rlle4dl

Plaintext : helloworld1234
Key1 : key
Ciphertext-1 : eor14hlod3lwl2
Key2 : word
Ciphertext : 1owoh32rlle4dl





This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



13. Columnar transposition Cipher
(Previous method)
15. Enigma machine Cipher
(Next method)





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.