Crypto Online

Two-Square Cipher

The Two-Square cipher (called also double Playfair) is a polygraphic substitution cipher. It replaces each plaintext pair of letters by another two letters, based on the two keyword tables. The tables are created based on two keywords (passwords) provided by the user.

For more detailed description of the Two-Square cipher, please visit Crypto-IT webpage.

First Password
Enter the first secret password. It will be used for creating the first table used for actual encryption/decryption. If no password is provided, the first table will be sorted alphabetically.
Help icon
Enter the first secret password. It will be used for creating the first table used for actual encryption/decryption. If no password is provided, the first table will be sorted alphabetically.
Second Password
Enter the second secret password. It will be used for creating the second table used for actual encryption/decryption. If no password is provided, the second table will be sorted alphabetically.
Help icon
Enter the second secret password. It will be used for creating the second table used for actual encryption/decryption. If no password is provided, the second table will be sorted alphabetically.
Input Message
Enter a message you want to encrypt/decrypt. After that, click the button below.
Help icon
Enter a message you want to encrypt/decrypt. After that, click the button below.
Encrypt / Decrypt
Formatted Input Message
Preview the message that actually will be processed. Note, that only letters that are present in the table will be encrypted/decrypted.
Help icon
Preview the message that actually will be processed. Note, that only letters that are present in the table will be encrypted/decrypted.
Parameters:
Treat J as I
Ignore Q
Ignore X Choose how to deal with the 26th letter of the Latin alphabet.
A B C D E
F G H I K
L M N O P
Q R S T U
V W X Y Z
A B C D E
F G H I K
L M N O P
Q R S T U
V W X Y Z
Two tables used for encryption and decryption, created based on the provided passwords.
Note, that if two currently encrypted/decrypted letters are in the same row, they will remain unchanged and won't be replaced.
Help icon
Two tables used for encryption and decryption, created based on the provided passwords.
Note, that if two currently encrypted/decrypted letters are in the same row, they will remain unchanged and won't be replaced.
Output Message
The result of encryption/decryption. The output text may contain an additional letter, added if the original input message length is odd. Note, that only letters appear in the output text, all other characters were removed.
Help icon
The result of encryption/decryption. The output text may contain an additional letter, added if the original input message length is odd. Note, that only letters appear in the output text, all other characters were removed.
Reset
Copy Output to Input