Tool to decrypt/encrypt Triliteral automatically. Triliteral cipher uses a triliteral alphabet which aims to replace letters by triples of three letters, generally A, B and C
Triliteral Cipher - dCode
Tag(s) : Substitution Cipher
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A triliteral cipher is, as its name suggests, a cipher that uses 3 letters (it is also called ternary, or trifid, for 3 elements).
It is a cipher by substitution, a plain letter being replaced by a triplet of 3 letters.
The Triliteral cipher uses a substitution triliteral alphabet (which can be defined more or less randomly).
Example: Encrypt DCODE with the alphabet A=AAA, B=AAB, C=AAC, D=ABA, etc. The encrypted message is: ABA AAC BBC ABA ABB
Base 3 (space ⌴ at the end = CCC):
A | AAA | B | AAB | C | AAC | D | ABA | E | ABB | F | ABC | G | ACA | H | ACB | I | ACC |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | BAA | K | BAB | L | BAC | M | BBA | N | BBB | O | BBC | P | BCA | Q | BCB | R | BCC |
S | CAA | T | CAB | U | CAC | V | CBA | W | CBB | X | CBC | Y | CCA | Z | CCB | ⌴ | CCC |
Base 3 (space ⌴ at the beginning = AAA):
⌴ | AAA | A | AAB | B | AAC | C | ABA | D | ABB | E | ABC | F | ACA | G | ACB | H | ACC |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
I | BAA | J | BAB | K | BAC | L | BBA | M | BBB | N | BBC | O | BCA | P | BCB | Q | BCC |
R | CAA | S | CAB | T | CAC | U | CBA | V | CBB | W | BCB | X | CCA | Y | CCB | Z | CCC |
Frederici:
A | AAB | B | AAC | C | ABA | D | ABB | E | ABC | F | ACA | G | ACB | H | ACC | I | BBA |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | BBA | K | BBC | L | BAB | M | BAA | N | BAC | O | BCB | P | BCA | Q | BCC | R | CCA |
S | CCB | T | CAC | U | CAA | V | CAA | W | CAB | X | CBC | Y | CBA | Z | CBB |
A | AAC | B | AAB | C | ACA | D | ACC | E | ACB | F | ABA | G | ABC | H | CAC | I | ABB |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | ABB | K | CAB | L | CAA | M | CCA | N | CCB | O | CBA | P | CBC | Q | CBB | R | BAA |
S | CCC | T | BAC | U | BAB | V | BAB | W | BAB | X | BCA | Y | BCC | Z | BCB |
A | BBA | B | BAA | C | BAC | D | AAA | E | AAC | F | AAB | G | ACA | H | ACC | I | ACB |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | ACB | K | ABA | L | ABC | M | ABB | N | CCC | O | CCA | P | CCB | Q | CAA | R | CAC |
S | CAB | T | CBA | U | CBC | V | CBC | W | CBC | X | CBB | Y | BBB | Z | BCB |
Wilkins:
A | AAA | B | AAC | C | AAB | D | CAA | E | CCA | F | CCC | G | CBB | H | BAA | I | BBA |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | BBA | K | BBC | L | BBB | M | ACA | N | ACC | O | ACB | P | ABA | Q | ABC | R | ABB |
S | CBA | T | CBC | U | CBB | V | CBB | W | CAC | X | BCA | Y | BCC | Z | BCB |
Triliteral Decryption requires to know the trileteral alphabet used in order to perform a substitution.
Example: The ciphered message ABAAACBBCABAABB have been encoded with the alphabet A=AAA, B=AAB, C=AAC, D=ABA, etc. The original plain text is DCODE.
It is possible to transform ciphertext in mono-alphabetical substitution and use dCode solver.
The ciphered message has 3 distinct characters equally distributed. It is usually the 3 letters A, B and C but it can be 3 numbers, or 3 different things.
Like a Bacon cipher, it is possible to hide a Triliteral cipher in a text, for example by alternating 3 fonts, or variations of letters: uppercase, lowercase, bold, italic, underlined, etc.
All notions of triplet, number 3, triple, words trifid, triliteral, tricode, triletter, tridigital, etc. are clues.
The list of permutations with repetition of 3 characters A, B and C is: AAA, AAB, AAC, ABA, ABB, ABC, ACA, ACB, ACC, BAA, BAB, BAC, BBA, BBB, BBC, BCA, BCB, BCC, CAA, CAB, CAC, CBA, CBB, CBC, CCA, CCB, CCC
The first triliteral alphabet appeared between 1550 and 1650.
dCode retains ownership of the "Triliteral Cipher" source code. Any algorithm for the "Triliteral Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Triliteral Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Triliteral Cipher" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Triliteral Cipher" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Triliteral Cipher on dCode.fr [online website], retrieved on 2025-04-16,