Codebusters - Random Aristocrat
On this page(11 sections)
A random Aristocrat is a monoalphabetic substitution built on a random alphabet. Every plaintext letter is replaced by one fixed cipher letter everywhere it appears, the word spaces stay where they are, and the substitution table is a shuffled 26-letter alphabet with no keyword behind it. The surviving spaces reveal word lengths, which is what makes it solvable by hand. The timed first question on a Codebusters exam is an Aristocrat, and a random alphabet is one of the Aristocrat types the rules allow for it, so your speed on this cipher feeds directly into the timing bonus.
What the rules cover
Under the 2027 rules, random-alphabet Aristocrats are on the Regional list in both divisions (rule 3.e.i), and State and National tests may use every Regional code type (3.f.i), so the cipher can appear at all three levels. The table summarizes the 2027 rules manual, with section numbers.
| Item | Division B | Division C |
|---|---|---|
| Levels | Regional, State and National (3.e.i, 3.f.i) | Same |
| Alphabets allowed for Aristocrats | K1 or random (ACA definitions), with or without a hint (3.e.i) | K1, K2, K3 or random (ACA definitions), with or without a hint (3.e.i) |
| Ciphertext form | Word spaces kept (3.e.i.(1)) | Same |
| Random alphabet elsewhere | Not used: Patristocrats are K1 only, Xenocrypts use a K1 English keyword alphabet | Not used: Patristocrats are K1 or K2, Xenocrypts use K1 or K2 |
| Keyword answers | No keyword option in Division B | Allowed only for K1, K2 and K3 Aristocrats (3.e.ii); a random alphabet has no keyword, so you decode the message |
| No self-decryption | No letter decrypts to itself (3.g) | Same |
| Timed first question | Always an Aristocrat with spaces (3.h.i) | Same |
| Special bonus | Never: Aristocrats, Patristocrats and Xenocrypts are excluded (3.i) | Same |
| Scoring | 2 or fewer errors = full credit, then −100 per extra error, floor 0 (4.d) | Same |
The event itself is the same in both divisions: a team of up to 3, about 50 minutes, on a written or computer-based exam. You bring only writing utensils. No notes, binders or calculators of any kind are allowed; the only reference is the resource sheet the event supervisor hands to each team member, which includes English and Spanish letter-frequency tables as needed for the questions on that exam. The single-sided packet can be split among partners.
How the cipher is built
A key for a random Aristocrat is a permutation of the alphabet. Write the 26 plaintext letters in order, then write the 26 cipher letters under them in some random order. Each plaintext letter is paired with exactly one cipher letter, and no two plaintext letters share a cipher letter. That makes the mapping a one-to-one correspondence.
The rules add one constraint on the key: no plaintext letter may be paired with itself. A cipher letter X can never stand for plaintext X. This is a generation rule, but it is also a solving tool, because it eliminates guesses.
Encrypting step by step
- Write the key as a 26-letter table: plaintext A to Z on top, a random arrangement of A to Z underneath. Check that every cipher letter appears exactly once in the bottom row, and that no letter sits under itself.
- Split the message into words and keep the spaces exactly as they are.
- Replace each letter with the letter directly under it in the table.
- Keep any punctuation in place unless the exam says otherwise.
- Check the result: decrypt one word with the inverse table and confirm you get the original back.
Worked example. To keep the table easy to check, this guide uses a keyboard-order row as its "random" key; a real exam key will look more scrambled, but the method is identical. Key: A→Q, B→W, C→E, D→R, E→T, F→Y, G→U, H→I, I→O, J→P, K→A, L→S, M→D, N→F, O→G, P→H, Q→J, R→K, S→L, T→Z, U→X, V→C, W→V, X→B, Y→N, Z→M. Written as a table (read each pair top to bottom):
| Plain | Cipher | Plain | Cipher | Plain | Cipher |
|---|---|---|---|---|---|
| A | Q | J | P | S | L |
| B | W | K | A | T | Z |
| C | E | L | S | U | X |
| D | R | M | D | V | C |
| E | T | N | F | W | V |
| F | Y | O | G | X | B |
| G | U | P | H | Y | N |
| H | I | Q | J | Z | M |
| I | O | R | K |
Encrypt TRY THE DOOR AGAIN one word at a time:
| Plaintext word | Lookups | Ciphertext word |
|---|---|---|
| TRY | T→Z, R→K, Y→N | ZKN |
| THE | T→Z, H→I, E→T | ZIT |
| DOOR | D→R, O→G, O→G, R→K | RGGK |
| AGAIN | A→Q, G→U, A→Q, I→O, N→F | QUQOF |
The ciphertext is ZKN ZIT RGGK QUQOF. Notice that the two O's both become G, and the two A's both become Q.
Decrypting step by step
Decryption uses the inverse table. When you have the key, invert it once and use the inverse for the whole message. When you do not have the key, you build the inverse yourself while solving, and the next section covers that.
- Build the inverse table: for each cipher letter, write the plaintext letter it came from.
- Split the ciphertext into words and keep the spaces.
- Replace each cipher letter with its inverse.
- Read the result. If it is not English, check whether you used the plaintext row where you needed the cipher row.
- Recheck the no-self rule. A decoded letter that equals its cipher letter means one of your lookups is wrong.
Worked example. Decrypt RG OZ FGV with the same key. Inverse lookups: R→D, G→O, O→I, Z→T, F→N, V→W.
| Ciphertext word | Lookups | Plaintext word |
|---|---|---|
| RG | R→D, G→O | DO |
| OZ | O→I, Z→T | IT |
| FGV | F→N, G→O, V→W | NOW |
The plaintext is DO IT NOW.
Solving under tournament conditions
You will not have the key. You will have a ciphertext, a sheet of English letter frequencies, and the exam's time limit. The strongest clues in a random Aristocrat come from the spacing, so start there, and only then bring in frequency.
Here is a message encrypted with the key above and handed to you with no key: ZIT EQZ LQZ GF ZIT DQZ.
| Step | Clue | What it gives you |
|---|---|---|
| 1 | Word shapes: five three-letter words, one two-letter word, and ZIT repeats | A repeated three-letter word is a likely candidate for a very common word such as THE |
| 2 | EQZ, LQZ and DQZ all end in the same two letters, QZ | A shared ending suggests an -AT ending, so Q→A and Z→T |
| 3 | ZIT repeats, and its first letter Z is already T | A repeated three-letter word beginning with T is almost certainly THE, so I→H and T→E |
| 4 | E and H are now taken as plaintext values | Any -AT word using them is ruled out for the other words, so each of the three needs a different first letter, such as C, M or S |
| 5 | Plaintext can be checked against the rest | EQZ→CAT (E→C), LQZ→SAT (L→S), DQZ→MAT (D→M), GF→ON (G→O, F→N) |
The final table is Z→T, I→H, T→E, E→C, Q→A, L→S, D→M, G→O, F→N, which decodes to THE CAT SAT ON THE MAT.
Three habits help most:
- Scan for word shapes before writing anything. One-letter words are almost always A or I, and two-letter words are often OF, TO, IN, IT, IS, ON, AS, AT or BE. Mark likely letters in pencil, because a wrong guess costs time.
- Use apostrophes and doubled letters. A doubled cipher letter inside a word (like GG in RGGK) stands for a doubled plaintext letter, most often LL, EE, SS, OO or TT. An apostrophe inside a word tells you a contraction is likely, such as I'M, DON'T or IT'S.
- Keep one table, and fill it steadily. Each confirmed letter should go into a single cipher-to-plain table. When a new guess conflicts with the table, the guess is wrong, not the table.
Timing and scoring
The 2027 rules score a random Aristocrat like any other regular question: the final score is exam score + timing bonus + special bonus (rule 4.b). An Aristocrat can earn the timing bonus when it is the timed first question, but it can never count toward the special bonus, which is reserved for questions that are not Aristocrats, Patristocrats or Xenocrypts.
NoteUncertain: what counts as one error
The 2027 scoring rule counts errors in the decoded plaintext but does not define the unit for a letter-level cipher. Count one wrong letter as one error unless the event supervisor says otherwise, and confirm the rule at a practice event if your team is close to a threshold.
Common pitfalls
Breaking the one-to-one mapping
Two plaintext letters can never share a cipher letter, and one cipher letter can never stand for two plaintext letters. If your table forces this, one of the guesses is wrong; find it before you continue.
Forgetting the no-self rule
A decoded letter must never equal its cipher letter. Use the rule to rule out words: if a guess would require a cipher letter to decode to itself, discard it.
Writing before the start signal
Rule 3.c forbids opening the packet or writing before the start signal, or writing after the stop signal.
How tournaments test this
There are no archived tournament questions tagged as random Aristocrats to count, so this guide does not quote frequencies. What the 2027 rules fix is:
- The first question on every exam is a spaced Aristocrat and is timed, and a random alphabet is one of the alphabets it may use. Fast random-Aristocrat solving is worth up to 1,200 timing-bonus points (solving at 0 seconds), and every 10 seconds saved is worth 20 points.
- The cipher is available at Regional, State and National tests in both divisions, because every Regional code type carries forward.
- Random alphabets always require the decoded message. Division C's keyword option does not apply to them.
- An Aristocrat can never be a special bonus question. Those slots go to other ciphers, and in 2027 at least one of them must be a Homophonic cipher.
Log each practice solve with its time, error count and the clue that cracked it.
Practice ciphertexts
Solve these without the key. Each one uses the same key as the worked examples above, so once you find a couple of letters you can check the whole table.
Worked exampleThree practice ciphertexts with answers
- OZ OL Q YOFT RQN
- QSS VTSS ZIQZ TFRL VTSS
- VT QKT KTQRN
Answers: (1) IT IS A FINE DAY. (2) ALL WELL THAT ENDS WELL. (3) WE ARE READY.
Hint for problem 1: the one-letter word Q is either A or I. Test A first and check it against the other words before you accept it.
References and further reading
- Science Olympiad (soinc.org): the 2027 rules manual and the Codebusters event page.
- American Cryptogram Association (cryptogram.org): the source of the random-alphabet definition the manual refers to.
- Simon Singh, The Code Book (1999): an accessible history of substitution ciphers and frequency analysis.
- English letter frequency chart, Wikimedia Commons: the figure used above.
- SciOly Wiki (scioly.org): the community Codebusters page.
See also
- Codebusters overview
- K1 Aristocrat and K2 Aristocrat: the same substitution method with keyword-built alphabets.
- K1 Patristocrat: the Patristocrat form, with spaces removed and letters grouped in fives.
- Atbash: another fixed monoalphabetic substitution, with a key you do not need to find (Division B only in 2027).