File size: 1,798 Bytes
b4f6a98
 
346ef1a
b4f6a98
346ef1a
b4f6a98
 
346ef1a
b4f6a98
 
346ef1a
b4f6a98
 
 
 
 
346ef1a
b4f6a98
 
 
 
 
346ef1a
b4f6a98
 
 
 
 
346ef1a
b4f6a98
346ef1a
 
 
 
 
b4f6a98
 
 
 
 
346ef1a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Sample Ciphertexts

Use these in **Detect Mode** or **Compare Mode**. Expected answers are at the bottom — try to call them yourself first using **Explain Mode**.

## 1 — Caesar / ROT

```text
WKLV LV D FODVVLFDO FDHVDU FLSKHU GHPR IRU FLSKHU GHWHFWLYH DL
```

## 2 — Atbash

```text
GSV XLWV RH ZOO BLFIH GSV VEVIVHG RMP
```

## 3 — Vigenère (short, deliberately hard)

```text
LXFOPVEFRNHR
```

## 4 — Rail Fence

```text
TEITELHDVLSNHDTISEIIEA
```

## 5 — Columnar transposition

```text
EOACT IPTRH IIEEN HSGES SOSCR REMEN AERTC OEFNT TYIHE THCMC
```

## 6 — Plaintext

```text
THE LIBRARY PRESERVES KNOWLEDGE FOR THE COMMUNITY
```

## 7 — Affine

```text
IZZWVU NWHJUS NSV BUKUSO YUSL NWHJUSE
```

## 8 — Monoalphabetic substitution

```text
GUF KSCQNQA HQFDFQXFD ZRMVKFTBF YMQ GUF EMSSWRSGA
```

---

## Expected answers

| # | Cipher                        | Notes                                              |
|---|-------------------------------|----------------------------------------------------|
| 1 | Caesar shift 3                | Brute-forces in 26 tries. Chi-squared confirms.    |
| 2 | Atbash                        | Self-inverse — a single decode test wins.          |
| 3 | Vigenère, key `LEMON`         | Sample is too short for high confidence — that's the lesson. |
| 4 | Rail-fence (3 rails)          | English letters, weak bigrams: classic transposition signature. |
| 5 | Columnar transposition        | Same family as #4; bigram support stays low.       |
| 6 | Plaintext                     | Should classify confidently as `plaintext`.        |
| 7 | Affine, *a*=5, *b*=8          | 312-key brute force; the affine candidate table surfaces it. |
| 8 | Monoalphabetic substitution   | English-like IoC but disrupted bigrams.            |