Choose language

PL, EN, ES, DE, FR, RU


Trifid cipher - online encoder / decoder


Trifid cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Trifid cipher. You can use any shift and additionally a key for more precise text encoding.
A trifid cipher, a triple cipher as an extension of the bifid cipher and a combination of a substitution cipher with a transposition cipher. Using our encoder you can both encrypt and decrypt every text with a trifid cipher. The cipher uses 26 letters of the Latin alphabet plus dot (.). Select whether you want to use a code table with the entered key for encryption, or whether you want to fill in each field of the table manually or randomly. If you choose encoding with a key, enter the key in the appropriate field (you can use the key generator) and select whether the code table should be filled from the first row or from the first column, or from the first square with rows or from the first square with columns. If you choose to fill in by hand or randomly then enter letters from A - Z and dot to the code table yourself, or fill in random table. Then select the encoding, which is the order in which the table is read.





Trifid cipher - encoder / decoder


Key table
     
     
     


Use table with key:



Fill manually or randomly:


Reading/coding order:








Have you counted? - like and share









Trifid cipher


Trifid cipher is a combination of a substitution cipher and a transposition cipher.

It was developed in 1901 by the French cryptologist Felix Delastelle as a development of the bifid cipher. Delastelle was a French who invented several ciphers, including two, three and four square ciphers.

The trifid cipher consists of a code table with three 3x3 code squares. The sum of the fields is 3x3x3, i.e. 27 characters. The Latin alphabet contains 26 letters, therefore the dot (.) character is used to complete.


Square 1 Square 2 Square 3
1 2 3 1 2 3 1 2 3
1 A B C 1 D . E 1 F G H
2 I J K 2 L M N 2 O P Q
3 R S T 3 U V W 3 X Y Z

For example, we want to encode the word CALCOOLATOR . We choose the coding method (order), e.g. square - row - column. We now look for each letter in the table and assign it the square number, row number and column number in the order we chose.

letter: C A L C O O L A T O R
square: 1 1 2 1 3 3 2 1 1 3 1
   row: 1 1 2 1 2 2 2 1 3 2 3
column: 3 1 1 3 1 1 1 1 3 1 1

We arrange the numbers in three by reading in lines. Then, in the table, we look for the letters that our three-digit groups will indicate in the previously established order - first the square, then the row, then the column.

groups: 112 133 211 311 121 222 132 331 131 111 311
square: 1   1   2   3   1   2   1   3   1   1   3
   row:  1   3   1   1   2   2   3   3   3   1   1
column:   2   3   1   1   1   2   2   1   1   1   1
letter:  B   T   D   F   I   M   S   X   R   A   F

So the scrambled word CALCOOLATOR would be BTDFIMSXRAF.

The second step of encryption removes the relationship between the groups of numbers and the corresponding letters, which makes cryptanalysis very difficult. Thanks to the three tables describing the position of the letters, this effect was much stronger than in the bifit cipher. Despite the apparent simplicity, both of these ciphers, when they were created, were very resistant to breaking.

More on: Wikipedia - Trifid cipher


Users of this calculator also used

Four-square cipher - encoder / decoder

Four-square cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Four-square cipher. You can use any shift and additionally a key for more precise text encoding.

Fibonacci sequence calculator

Using the calculator, you can easily and quickly calculate the sum of the Fibonacci sequence, find a value or find the nth term.



Online calculator