PDF download Download Article PDF download Download Article

Originally conceived by the Greek historian Polybius in the second century B.C., the Polybius square or Polybius checkerboard is one of the simplest tools in cryptography. You can use a Polybius square to encode a message that can then be deciphered only by someone who knows the arrangement of letters in the square . It's not secure enough to send military secrets, but it can be a fun way to learn about cryptography and to send secret messages to your friends .

    • Create an equal number of numbered rows and columns (see image). To determine how many rows and columns to make, find the square number (also called a perfect square) that is nearest to the number of letters in your alphabet. Then take the square root of that square number--this will be the number of rows and columns in your Polybius square. For example, in the English alphabet, there are 26 Write Different letters. The closest square number to 26 is 25, and the square root of 25 is 5, so you would need 5 columns and 5 rows, as shown in the image. Other languages use alphabets with more or fewer letters, so depending on the language used, the Polybius square may have more or fewer than 5 rows and columns.
    • Write the letters of the alphabet in your grid. There should be one letter at the intersection of each row and column. In the simplest form, you can just write the alphabet out in order, but if you want to make the code harder to crack, you can mix up the letters. If there are too many letters in the alphabet to fit into the square, you can omit one or two (preferably these are uncommonly used letters). In the example, the letter "J" has been omitted. If there are too few letters to fill the grid, you can leave some spaces blank or use them for punctuation, emoticons, or whatever you like.
  1. Let's take a simple example: "I love wikiHow," though there's obviously no reason to hide the fact that you love wikiHow .
    Advertisement
  2. Look at your Polybius square, and find the row and column numbers of your first letter. In the example "I love wikiHow ," the letter "I" is the first letter. "I" is located at the intersection of row 2 and column 4, so you would begin your coded message with the number 24 (the row number is usually written before the column number).
  3. "I love wikiHow" becomes "24 31 34 51 15 52 24 25 24 23 34 52." You could also get rid of the spaces (243134511552242524233452) or leave spaces only between words (24 31345115 52242524233452).
  4. Decode the message by replacing each pair of coordinates with its corresponding letter. If you're sending the message to someone, you'll need to also send them the Polybius square. Send it to them separately to heighten the security of your message.
  5. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      • As an alternative to removing letters to fit inside a smaller Polybius square, you could opt to use a larger sized square, and duplicate some letters to help fill the square, which can also increase the strength of the square as patterns are broken up if some letters can have more than one number.
      • If you need to use an omitted letter (such as the "J" in the Polybius square above), you can simply use the coordinates of one of the adjacent letters (either "I" or "K"), as there will rarely be any confusion.
      • The Polybius square is not particularly difficult to decode. To make it harder, you can mix up the letters in the grid, or you can encode your message with the Polybius square and then use a second cryptographic method, such as a bifid or trifid cipher. The more complex your enciphering, the more time it will take to encode your message, but the more difficult it will be to decode.
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Did this article help you?

      Advertisement