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

62. Cadenus Cipher (encoder / decoder) example ( Enter your problem )

1. Examples





1. Cadenus Cipher encoder

Text : AtoZmath.com solves math problems step-by-step as like a teacher. It's very huge website and contains lots of calculators.
Key : keys
Vertical Key : azyxvutsrqponmlkjihgfedcb
Remove Special Characters : true


Solution:
The Cadenus cipher is a columnar transposition cipher that combines columnar transposition with keyed column rotation.

Plaintext length must be equal to keyword length * 25, so we add 'x'

1. Write Plaintext row by row into 25 rows and 4 columns under the Key (k,e,y,s) in Grid-1.
2. Sort columns alphabetically by Key letters (e,k,s,y) in Grid-2.
3. Attach the 25 letter Vertical Key to the rows.

4. For each column, find its Key letter in the Vertical Key and rotate that column, so that row moves to the top in Grid-2.
1. e (Column-2): Found at Vertical Key row-22 (s), wrapping the first 21 letters to the bottom.
2. k (Column-1): Found at Vertical Key row-16 (h), wrapping the first 15 letters to the bottom.
3. s (Column-4): Found at Vertical Key row-8 (e), wrapping the first 7 letters to the bottom.
4. y (Column-3): Found at Vertical Key row-3 (m), wrapping the first 2 letters to the bottom.

5. Read Grid-2 row by row to form Ciphertext.

Grid-1
Plaintext
Vertical
Key
Grid-2
Ciphertext
k e y se k s y
1 2 3 42 1 4 3
- - - -- - - -Row
a t o z as h e m 1
m a t h za v s v 2
c o m s yl i a a 3
o l v e xr n k r 4
s m a t vt n e e 5
h p r o ua n e t 6
b l e m to t s y 7
s s t e sl c y p 8
p b y s rm u e i 9
t e p a qp o s t 10
s l i k pl a a h 11
e a t e os m o t 12
a c h e nb c i r 13
r i t s me o o g 14
v e r y ll s f b 15
h u g e ka h c e 16
v e b s jc b t c 17
i t e a ii s x a 18
n d c o he p z l 19
n t a i gu t h o 20
n s l o fe s s l 21
t s o f et e e a 22
c a l c dd a t s 23
u l a t ct r o o 24
o r s x bs v m t 25

So finally
Plaintext : atozmathcomsolvesmathproblemsstepbystepaslikeateacheritsveryhugevebsiteandcontainslotsofcalculatorsx
Key : keys
Ciphertext : shemavsvliaarnkrtneeanetotsylcypmueipostlaahsmotbcireooglsfbahcecbtcisxaepzluthoesslteeadatstroosvmt

2. Cadenus Cipher encoder

Text : AtoZmath.com solves math problems step-by-step as like a teacher. It contains lots of calculators.
Key : key
Vertical Key : azyxvutsrqponmlkjihgfedcb
Remove Special Characters : true


Solution:
The Cadenus cipher is a columnar transposition cipher that combines columnar transposition with keyed column rotation.

Plaintext length must be equal to keyword length * 25, so we remvoe extra characters

1. Write Plaintext row by row into 25 rows and 4 columns under the Key (k,e,y) in Grid-1.
2. Sort columns alphabetically by Key letters (e,k,y) in Grid-2.
3. Attach the 25 letter Vertical Key to the rows.

4. For each column, find its Key letter in the Vertical Key and rotate that column, so that row moves to the top in Grid-2.
1. e (Column-2): Found at Vertical Key row-22 (o), wrapping the first 21 letters to the bottom.
2. k (Column-1): Found at Vertical Key row-16 (a), wrapping the first 15 letters to the bottom.
3. y (Column-3): Found at Vertical Key row-3 (c), wrapping the first 2 letters to the bottom.

5. Read Grid-2 row by row to form Ciphertext.

Grid-1
Plaintext
Vertical
Key
Grid-2
Ciphertext
k e ye k y
1 2 32 1 3
- - - -- - - -Row
a t o ao a c 1
z m a zo a s 2
t h c ya e v 3
o m s xu t m 4
o l v vt n h 5
e s m um i o 6
a t h th l e 7
p r o sm s s 8
b l e rl c p 9
m s s qs c s 10
t e p pt a p 11
b y s or z l 12
t e p nl t e 13
a s l ms o e 14
i k e le o h 15
a t e ky e i 16
a c h je a o 17
e r i is p a 18
t c o hk b s 19
n t a gt m t 20
i n s fc t f 21
l o t er b l 22
s o f dc t l 23
c a l ct a o 24
c u l bn i a 25

So finally
Plaintext : atozmathcomsolvesmathproblemsstepbystepaslikeateacheritcontainslotsofcalcul
Key : key
Ciphertext : oacoasaevutmtnhmiohlemsslcpscstaprzlltesoeeohyeieaospakbstmtctfrblctltaonia





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





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

.