

It makes the plaintext of even For example, the plaintext MANGO has five letters. If the plaintext has the odd number of letters, append the letter Z at the end of the plaintext. First, split the plaintext into digraphs (pair of two letters). Encryption of media files is also not supported.ġ.It does not support other languages, except English.The use of special characters (such as blank space, newline, punctuations, etc.) is prohibited.Only either upper cases or lower cases are supported.It does not support numeric characters.The limitations of the Playfair cipher are as follows: Overcomes the limitation of simple Playfair square cipher.Cryptanalyze (the process of decoding cipher without knowing key) is not possible.Diverse ciphertext if we scrutinize the Algorithm, we can notice at every Stage we are getting diverse ciphertext, thus more trouble to cryptanalyst.Cryptanalysis: It is the study of the methods and principles of deciphering ciphertext without knowing the key.Decipher: The process of removing ciphertext from plaintext is called decipher.Encipher: The process of converting plaintext into ciphertext is called encipher.It is filled character by character in the matrix that is called key-table or key-matrix. It is known only to the sender and receiver. Key: It is the key to encrypt or decrypt the plaintext.Cipher: It is an algorithm for transforming plaintext to ciphertext.Ciphertext: It is an encrypted message.Plaintext: It is the original message that is to be encrypted.Therefore, the Playfair cipher is an example of a digraph substitution cipher.īefore moving ahead, let's understand the terminology used in this Playfair cipher. Since Playfair cipher encrypts the message digraph by digraph. It means treat I and J as the same letter, accordingly. Nevertheless, the plaintext contains J, then J is replaced by I. Therefore, one letter is excess so, a letter will be omitted (usually J) from the matrix. Another point to note that there are 26 alphabets and we have only 25 blocks to put a letter inside it. Note that any alphabet should not be repeated. The matrix contains alphabets that act as the key for encryption of the plaintext. It initially creates a key-table of 5*5 matrix. The only difference is that it encrypts a digraph (a pair of two letters) instead of a single letter. Playfair cipher is an encryption algorithm to encrypt or encode a message. In this section, we will discuss Playfair cipher along with its implementation in a Java program.

It is an encoding procedure that enciphers more than one letter at a time. It is the most popular symmetric encryption technique that falls under the substitution cipher. But it was named for one of his friends Lord Lyon Playfair because he popularized its uses. Playfair cipher is proposed by Charles Whetstone in 1889. Next → ← prev Playfair Cipher Program in Java
