Tuesday, October 2, 2007

Columnar Transposition Cipher

This is also named as caesar’s box. This was not used by him but was only named to honor him.
This is one of the simplest of ciphers that has been used. Generally these messages have perfect squared number of letters. For example

B Y C T S I O O H S N U D E A G D E M G O E D E E

This message has 25 letters, now to decode it…
Easiest way is to create a matrix of 5X5 with these letters

B Y C T S
I O O H S
N U D E A
G D E M G
O E D E E

Now get the transpositional matrix by changing the rows into columns…

B I N G O
Y O U D E
C O D E D
T H E ME
S S A G E

Now write it in a single row…

“BINGOYOUDECODEDTHEMESSAGE”

“Bingo you decoded the message” this was the message…

Now you should have a pretty good idea of how to create your own secret message by using Columnar Transposition Cipher.

But not always the message have perfect squared number of letters…
Like “ THERE IS NO SECRET MESSAGES FOR YOU”
this is 29 letters… so now the next largest perfect square is 36 so create a matrix of 6 X 6.

T I E M G R
H S C E E Y
E N R S S O
R O E S F U
E S T A O



So now the encoded message is
“TIEMGRHSCEEYENRSSOROESFUESTAO”

Try to decode this

“WEESHTDOOTOULHGT”

“Yloemtmoeuseheuartneacvhctllaeoosponynmist”

Hint: try rectangular matrices as well….

Blessed be…

No comments:

Today's Tarot

Click for DetailsPage of Cups: The essence of water behaving as earth, such as a wellspring: An unexpected new relationship that is playful and spontaneous. A romantic soul who embraces compassion and imagination with childlike joy. Gentle reflections on love, spirituality, and the importance of personal relationships in business and material affairs. May herald the birth of a child. More FREE readings...

The Colman Smith Tarot is a modern reinvention of the classic Rider Waite deck, infusing the original line drawings by Pamela Colman Smith with colors drawn from the psychedelic digital age.

Add daily Tarot to your site!