Home › Ciphers › Headlines Cipher
Headlines Cipher
Headlines began as an in-house puzzle at the NSA — created by Paul Derthick in the 1960s, still published by the Agency today — and the ACA keeps it as a cipher type: take five headlines from recent newspapers and encipher each as a monoalphabetic substitution, all five drawn from one mixed alphabet at five different settings. The key is three related words — the KEY, the HAT and the five-letter SETTING — traditionally chosen on a common theme to give the solver a thread to pull. This tool performs the ceremony exactly as the ACA sheet prescribes: its defaults reproduce the sheet's five published headlines in full.
The Headlines cipher enciphers five headlines as five monoalphabetic substitutions sharing one mixed alphabet: the KEY builds a keyed alphabet, the HAT transposes it through a ranked block into the mixed alphabet, and each letter of the five-letter SETTING rotates that alphabet to give one headline its own ciphertext row. Word divisions and punctuation are kept, proper nouns are starred, and a hyphen inside a word is written = in the ciphertext.
Created by Paul Derthick at the NSA in the 1960s — the Agency's own puzzle pages date its newsletter debut to November 1964 — and kept as an ACA type. Full ACA solution credit needs the five plaintexts and at least two of the three keywords.
Encode or decode — one headline per line, up to five
Everything runs in your browser — nothing is uploaded.
Three words, five rotations
Construction first. Keyed alphabet: write the KEY, drop repeated letters after their first occurrence, and append the rest of A–Z in order (PIRATE gives PIRATEBCDFGHJKLMNOQSUVWXYZ). Mixed alphabet: write that keyed alphabet in rows into a block whose width is the HAT's length, write the HAT above it, number the HAT's letters in alphabetical order (duplicates numbered left to right), and read the block's columns down in that rank order, concatenating them — for HAT APOTHECARY over KEY CHEMIST the result is CFUAPTOSNZILYEJWHGVBQMKXDR. Substitution: the mixed alphabet is the plaintext row. Headline i is enciphered against the same mixed alphabet rotated so that it begins with the SETTING's i-th letter — SETTING DRUGS gives five ciphertext rows beginning D, R, U, G, S. Encipher by finding each letter in the plaintext row and taking the letter below it in that headline's row.
Presentation follows the ACA: word divisions, punctuation and apostrophes are kept, proper nouns are preceded by an asterisk (type them in, as the defaults do — they pass through untouched), and a hyphen inside a word is written = in the ciphertext. Decipherment rebuilds the same five rows and inverts each headline under its own. The ACA sheet names variants (columns up, a plaintext block, the setting read up, a triple-reversed "identity" form) — this tool implements the standard form described here and says so.
An NSA in-house puzzle
The Headline Puzzle was started in 1964 by Paul Derthick, a longtime research analyst in the NSA's Operations Organization, to keep his mind sharp outside his cryptanalytic work; the Agency's internal newsletter began accepting it in November 1964, and it has been published internally ever since, carried forward by the NSA's puzzling community (its current author is Bob Bogart). The ACA adopted the format as a cipher type with its own conventions and grading. Nothing in it is cryptographically novel — which is the point: it was designed as an aptitude-and-patience test, not a secrecy system.
The ACA sheet's construction
| KEY CHEMIST → keyed alphabet | CHEMISTABDFGJKLNOPQRUVWXYZ |
|---|---|
| HAT APOTHECARY → column ranks | 1 7 6 9 5 4 3 2 8 10 |
| Mixed alphabet (plaintext row) | CFUAPTOSNZILYEJWHGVBQMKXDR |
| SETTING DRUGS → rows begin | D · R · U · G · S |
The tool prints the mixed alphabet in force under the controls, for any KEY and HAT you set.
Two published sets, reproduced in full
Example 1 — the ACA specification sheet
The sheet's complete example is this page's default: HAT APOTHECARY (ranks 1 7 6 9 5 4 3 2 8 10), KEY CHEMIST, SETTING DRUGS, and its five headlines — the intelligence-overhaul bill, Bin Laden, the Pfizer warning, Lemony Snicket, Martinez and Schilling — emerging as the sheet prints them, asterisks, colon, quotes and the = in QP=YQIUUIYQ ("ex-teammate") included.
Example 2 — Mountain Vista's French Revolution set
A second, independent published example (KEY JAVELIN, HAT BALLISTA, SETTING SWORD; mixed alphabet ADQZBOXJCPYLHTVFREGSIKUNMW), whose five headlines retell 1789–93 from the Third Estate to Citizen Capet's guillotine. Type its first headline into the tool with those three words and the printed ciphertext comes back letter for letter. A caution the research surfaced: CryptoCrack's printed example draws its block nine columns wide against an eight-letter hat, a layout artefact on their page; the ACA construction — block width equal to the hat's length — is what the other sources, and this tool, follow.
A puzzle wearing a cipher's uniform
Each headline, alone, is a plain substitution of the kind the cryptogram solver eats. The puzzle is in the relations: one alphabet, five rotations, three keywords bound by a theme. Solving means recovering all of it at once — a headline that yields a probable word constrains the shared alphabet, the alphabet constrains every other headline's rotation, and the rotations spell the SETTING, which hints at the theme, which names candidates for the KEY and the HAT. That interlocking is why full ACA credit needs the five plaintexts and at least two of the three keywords: the keywords are the actual lock, the headlines only its five keyholes.
- Security status: none, by design — a solving exercise whose difficulty is relational, not statistical.
- The three-word key as a teaching device: hand a student the HAT and SETTING and only the KEY is missing — the same system at three difficulties.
Named variants and neighbours
| Relative | How it differs | Solve it with |
|---|---|---|
| ACA variant forms | Columns taken up the block; substitution against a plaintext block; the setting read up; an identity-encipherment form combining three reversals | Named on the ACA sheet; this tool implements the standard form |
| Aristocrat | A single headline-style substitution with word divisions kept — one setting, no shared alphabet | The Cryptogram Solver |
| Key Phrase cipher | Shares the keyed-alphabet construction without the hat transposition or settings | The Key Phrase page |
| Quagmire ciphers | Keyed alphabets rotated against each other periodically — the same ingredients in a polyalphabetic frame | The Quagmire page |
Sixty years of Monday puzzles
The Headline Puzzle's real story is longevity: an internal NSA recreation, running since 1964, that outlived the systems its solvers worked on by day. The ACA keeps the type alive for the same reason the Agency invented it — it tests the complete solving temperament at once: statistics, word sense, patience, and the willingness to use a semantic thread (three themed keywords) as seriously as a frequency count. The theme, which looks like a courtesy, is really the constructor's handicap system: related words (DRUGS over a pharmaceutical HAT and KEY, in the ACA's example) give the solver a semantic crib to match the statistical one.
One headline by hand
Practice 1 — encipher under JAVELIN / BALLISTA / SWORD
Headline 2, so its row is the mixed alphabet rotated to begin with the SETTING's second letter, W: WADQZBOXJCPYLHTVFREGSIKUNM…
Reveal the answer
ISUE BFARFG JYBGKFR BV RGHWHRG.
Practice 2 — decode headline 1 of the ACA set
Headline 1's row begins with D. Find each ciphertext letter in that row and read the mixed alphabet above it.
Reveal the answer
*BUSH SIGNS INTELLIGENCE OVERHAUL LEGISLATION.
Frequently asked questions
Why exactly five headlines?
Because the format is five: the SETTING has one letter per headline and the type is defined as "five headlines from recent news" in both the NSA's and the ACA's statements of it. A single text enciphered this way is a substitution with a complicated key schedule, not a Headlines puzzle — so the tool takes up to five lines.
What do HAT, KEY and SETTING each do?
KEY builds the keyed alphabet. HAT sets the width of the block that alphabet is written into, and its letters' alphabetical order gives the order the block's columns are read off in — together they produce the mixed alphabet. SETTING's five letters each rotate that mixed alphabet to make one headline's ciphertext row.
Why the asterisks and the equals sign?
ACA presentation conventions, kept because constructors use them: an asterisk precedes a proper noun in the ciphertext (a gift of a crib, and a mark of the format), and a hyphen inside a word is written = so it cannot be mistaken for a line-break hyphen. Type the asterisks in the plaintext, as this page's defaults do, and they pass straight through.
Are there variant forms?
Yes — the ACA sheet names them: columns taken up the block, substitution against a plaintext block, the setting read up, and an identity-encipherment form combining three reversals. This tool implements the standard form (columns down, ciphertext block, setting read down) that the published worked examples use, and names the variants rather than silently offering one.