Quagmire III (keyed alphabet) — Vigenere arithmetic performed in a keyed alphabet's index space rather than A to Z, so the keyword and the alphabet are two separate secrets.
Vigenere over a keyed alphabet (KRYPTOS by default). Period from IC, columns by chi-squared in keyed space.
A worked example§
Encrypting a sample with the cipher itself, at build time:
MEET ME BY THE OLD CLOCK TOWER AT DAWN
Key: key=PROVENANCE, alphabet=kryptos
produces the ciphertext
UFJKPTIUGZHSVSQDFYCIBXJWMWLKST
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§
Given the alphabet it is Vigenere in disguise. Not given it, the alphabet has to be searched too — and a solver that assumes A = 0 recovers nothing at all, because the per-column shift it finds is a shift of the wrong alphabet.
History and context§
The form used on the Kryptos sculpture at CIA headquarters, whose K1 and K2 panels use the keyed alphabet KRYPTOSABCDEFGHIJLMNQUVWXZ. This solver reproduces the published Paradigm Kryptos PK1 answer, keyword PROVENANCE, from ciphertext alone.
See also§
Vigenère · Beaufort · Variant Beaufort · Gronsfeld · Porta · Sum-clock (additive wheels)
Browse every cipher in the Polyalphabetic ciphers family, read the history of codebreaking, or return to the wiki main page.
Frequently asked questions§
How is the Quagmire III (keyed alphabet) broken?
Given the alphabet it is Vigenere in disguise. Not given it, the alphabet has to be searched too — and a solver that assumes A = 0 recovers nothing at all, because the per-column shift it finds is a shift of the wrong alphabet.
What key does the Quagmire III (keyed alphabet) use?
keyword + alphabet. The keyspace is unbounded in practice.
How much ciphertext do I need?
At least 40 characters for this solver to attempt it; short messages can be readable and still not be proof.
Can I break a Quagmire III (keyed alphabet) on this page?
Not with the browser build, which targets the common puzzle families. The desktop version searches it: see the Windows app page.