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 : trueSolution: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 s | | e k s y | |
| 1 2 3 4 | | 2 1 4 3 | |
| - - - - | | - - - - | Row |
| a t o z | a | s h e m | 1 |
| m a t h | z | a v s v | 2 |
| c o m s | y | l i a a | 3 |
| o l v e | x | r n k r | 4 |
| s m a t | v | t n e e | 5 |
| h p r o | u | a n e t | 6 |
| b l e m | t | o t s y | 7 |
| s s t e | s | l c y p | 8 |
| p b y s | r | m u e i | 9 |
| t e p a | q | p o s t | 10 |
| s l i k | p | l a a h | 11 |
| e a t e | o | s m o t | 12 |
| a c h e | n | b c i r | 13 |
| r i t s | m | e o o g | 14 |
| v e r y | l | l s f b | 15 |
| h u g e | k | a h c e | 16 |
| v e b s | j | c b t c | 17 |
| i t e a | i | i s x a | 18 |
| n d c o | h | e p z l | 19 |
| n t a i | g | u t h o | 20 |
| n s l o | f | e s s l | 21 |
| t s o f | e | t e e a | 22 |
| c a l c | d | d a t s | 23 |
| u l a t | c | t r o o | 24 |
| o r s x | b | s 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 : trueSolution: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 y | | e k y | |
| 1 2 3 | | 2 1 3 | |
| - - - - | | - - - - | Row |
| a t o | a | o a c | 1 |
| z m a | z | o a s | 2 |
| t h c | y | a e v | 3 |
| o m s | x | u t m | 4 |
| o l v | v | t n h | 5 |
| e s m | u | m i o | 6 |
| a t h | t | h l e | 7 |
| p r o | s | m s s | 8 |
| b l e | r | l c p | 9 |
| m s s | q | s c s | 10 |
| t e p | p | t a p | 11 |
| b y s | o | r z l | 12 |
| t e p | n | l t e | 13 |
| a s l | m | s o e | 14 |
| i k e | l | e o h | 15 |
| a t e | k | y e i | 16 |
| a c h | j | e a o | 17 |
| e r i | i | s p a | 18 |
| t c o | h | k b s | 19 |
| n t a | g | t m t | 20 |
| i n s | f | c t f | 21 |
| l o t | e | r b l | 22 |
| s o f | d | c t l | 23 |
| c a l | c | t a o | 24 |
| c u l | b | n 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