Trifid — Bifid in three dimensions: three coordinates per letter in a 3x3x3 cube, recombined within a period, so every output letter depends on three inputs.
Three coordinates per letter in a 3x3x3 cube, recombined within a period. Experimental solver.
A worked example§
Encrypting a sample with the cipher itself, at build time:
MEET ME BY THE OLD CLOCK TOWER AT DAWN
Key: key=TRIFID, period=5
produces the ciphertext
GDYPUIAYBRDIWZLKHZDGNINLXTVLSV
This example is generated by running the cipher when the page is built, and the round trip is checked, so it always matches what the solver does.
How it is broken§
The strongest fractionation in this collection, and the hardest to attack from nothing: the 27-cell cube and the period have to be recovered together.
History and context§
Delastelle's last cipher, published posthumously in 1902.
See also§
Playfair · Bifid · Hill cipher (matrix) · Four-square
Browse every cipher in the Polygraphic ciphers family, read the history of codebreaking, or return to the wiki main page.
Frequently asked questions§
How is the Trifid broken?
The strongest fractionation in this collection, and the hardest to attack from nothing: the 27-cell cube and the period have to be recovered together.
What key does the Trifid use?
keyword + period. The keyspace is unbounded in practice.
How much ciphertext do I need?
At least 90 characters for this solver to attempt it; short messages can be readable and still not be proof.
Can I break a Trifid on this page?
Not with the browser build, which targets the common puzzle families. The desktop version searches it: see the Windows app page.