Hey ArchOptic,

Sorry for the late reply.

If you are using 1.23 go to AZdecrypt/N-grams/Languages/, there should be about all languages you need.

Usually higher n-grams are much more powerful. Here are Italian 6-grams for you to download:

https://drive.google.com/file/d/1FP7XWC ... sp=sharing
You say it is a base 9 cipher. So there are only 9 unique symbols? In terms of classical cryptography the first thing I then think of is that for example each unique symbols could polyalphabetically substitute to 3 letters, or that groups of 2 characters may form one letter.

I work on ciphers by hypothesis testing:

1) Generate a hypothesis based on the stats of the cipher.

2) Create at least a few examples of your own and try to solve them and also compare stats.

3) Now try it on your cipher to solve.

Try to get someone to work with to bounce ideas back and forth.

Here is a cipher with 9 unique symbols where each symbol may map to up to 3 different letters:

Code: Select all

```
ADDAAEBCBAGBGHCBGCBFAFFDICECBE
FAGGGBBEGGCCFEFBEFACFAEGEFBEFA
EGCGCEGDBFFEHCBBGCBFBBBFBBGHCE
GBEAEBGAFFBAFCEGCBCFAFFDCAAGCE
EGHCGCAEFCBGEBAFFBGAFCABBFBBBF
BEABGCBBGADGEAHACDAADBBFEEGCBB
BFAFGEBEGADEBBCABEEGGFAAACGGGC
EFDICECEGEGDCFFBFFEGCGCEEHCBEG
FAHBDDCECGCBDBCGGGADBBGEBBFAEB
EEBBBGGCEHCECFEGBAGGGEEBHCDDGF
FAHDEGGGEACEEGBAAEHGCAGADDEHGA
GEEIGEDCBBEHEBHBECBCCGAAADDBCG
BEBGFCECECFEGEBAAEFEBFAGGCBBEF
BFGEEBFEBGCBGGFHCHADCEFFEFCBEF
BFBGCBBEGBHCDCEHEDHBGEGACEEFBG
CAEGCEFDIAFBBFCECAFEGEBAGFEEDI
CEGGBGDAICECBBBEFEBBEGGAGCEEGG
CAGHAEGGEBAGIEGCBIEGAFBAADBGEA
GGBEBAEGDBIEGFDBAGBAEEGAAGGGGE
```

So now first thing I would do is compare stats with your cipher to solve. We want to look for repetitions in the horizontal direction since the encoding did not randomize the order of the text. Go to Statistics, Find plaintext direction, Using trigrams. Scroll down in the output:

Code: Select all

```
Directional: (transposition, untransposition)
---------------------------------------------------------
Normal: 303, 303 (6.53, 6.53) <---
Mirror: 297, 297 (5.58, 5.58)
Flip: 297, 297 (5.58, 5.58)
Reverse: 303, 303 (6.53, 6.53) <---
---------------------------------------------------------
Columnar 1: 262, 272 (0.01, 1.60)
Columnar 2: 263, 268 (0.17, 0.96)
Columnar 3: 263, 268 (0.17, 0.96)
Columnar 4: 262, 272 (0.01, 1.60)
---------------------------------------------------------
Diagonal 1: 258, 265 (-0.62, 0.49)
Diagonal 2: 260, 259 (-0.30, -0.46)
Diagonal 3: 261, 265 (-0.14, 0.49)
Diagonal 4: 258, 262 (-0.62, 0.01)
Diagonal 5: 258, 262 (-0.62, 0.01)
Diagonal 6: 261, 265 (-0.14, 0.49)
Diagonal 7: 260, 259 (-0.30, -0.46)
Diagonal 8: 258, 265 (-0.62, 0.49)
```

We find a 6+ sigma result for trigrams at the Normal direction, which is horizontal from left-to-right. If the hypothesis match up you also want to find this in your cipher to solve.

Additionally we can go to Statistics, Unigrams.

Code: Select all

```
Index of coincidence:
- Raw: 46068
- Normalized: 0.1420405142909999
- Versus random: 1.278364628618999
[b]- Flatness: 0.771251193887297
Alternative flatness: 0.7386363636363638[/b]
```

Flatness for this hypothesis should be around 0.666 (Same as English or your other typical Latin alphabet using language). It's simply the flatness of the unigram frequency distribution by some formula. 0.77 is a tad bit high but acceptable.

Then to solve it, it's about picking the right solver for your hypothesis, which I can guess can be very daunting if you don't know the program well.

Take the solver "Substitution + polyphones" and click on solve. In the next window select User defined polyphones and "Set letters# for all symbols" to 3. The right-hand side list should update and letters should 3 for all symbols. Click on Solve again in the main window. I recommend at least 7-grams and an overnight run on your computer since it is very hard.

Another way to do it is if you have any assumptions, and since I made the hypothesis cipher myself I know that A maps to ABC, B to DEF, C to GHI, D to JKL, E to MNO, F to PQR, G to STU, H to VWX, I to YZ. Take the solver "Manual polyalphabetic" and fill in these assignments and click on Solve.

Now I was able to solve the hypothesis cipher at least

Let me know how it goes