Monday, February 3, 2014

Q: Today I asked my friend Libin to review my puzzle games blog.

He replied this:

i  e  z  a  l  p  l  m  o  u  e  e  v  z  g  s

Can you help me to understand his feedback?

A: This is a well known encryption mechanism known as "Caesar's Block Cipher".

The method of decryption is given below:

  1. Count the number of letters in the cipher. In our case it's 16.

  2. Find the lowest N X N square, which can accommodate all the letters. In our case, 4X4 = 16, a 4X4 square can accommodate all letters.

  3. 1 2 3 4
    5 6 7 8
    9 10 11 12
    13 14 15 16

  4. Form 4 groups of letters with 4 letters in each group in the same order as in the cipher.

     [i e z a] [l p l m] [o u e e] [v z g s]

  5. Fill the encrypted letters in each cells as per the order given in the above square.

  6. i e z a
    l p l m
    o u e e
    v z g s

  7. Great! Now re-group the letters in the following order as shown in the table.

  8. 1 5 9 13
    2 6 10 14
    3 7 11 15
    4 8 12 16

      [i   l  o  v]  [e  p  u  z]  [z  l  e  g]  [a  m  e  s]

  9. Now you can easily understand the sentence. 


    i   l  o  v  e  p  u  z  z  l  e  g  a  m  e  s


    Libin's feedback is " I Love Puzzle Games". 
    Thanks Libin :)

0 comments:

Post a Comment