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

Rail Fence, Zig-Zag - encoder / decoder

Rail Fence, Zig-Zag cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Rail Fence, Zig-Zag cipher.

Matrix 2x2 calculator

Thanks to the mathematical calculator, you can easily calculate the determinant of the matrix, find the complement matrix, the transposed matrix, and the inverse matrix.

Beaufort cipher - encoder / decoder

Beaufort cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Beaufort cipher.

Bifid cipher - encoder / decoder

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

Home heat loss calculator

This calculator is a complete tool to calculate the heat loss of your home Whit this calculator, we will find out what the heat losses are, e.g. through the ceiling, external walls, windows, floor in each room of our house, depending on the type of building material, number of layers, insulation and external temperature.

Matrix 3x3 calculator

Thanks to the 3x3 matrix math calculator, you can easily calculate the determinant of the matrix 3x3, find the complement 3x3 matrix, transpose 3x3 matrix, inverse 3x3 matrix.

Profitability of investments: NPV (Net Present Value), PI (Profitability Index), IRR (Internal Rate of Return), DPP (Discounted Payback Period)

This calculator helps us check whether the planned investment will be profitable and whether the project should be accepted or rejected.
Thanks to the calculator, we can calculate:
NPV (Net Present Value) - sum of discounted net cash flows
PI (Profitability Index) - investment profitability
IRR (Internal Rate of Return) - internal rate of return
DPP (Discounted Payback Period) - discounted payback period
Value of discounted net cash flow for each period.



Online calculator