You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**crosswhit99****Guest**

Hi Everyone

I am attempting to solve what I believe is a substitution cipher, comprising 345 symbols (30 different types) with no spaces. Included amongst these are just two different digits. I have no programming skills and am struggling to make much headway as I've no idea of word lengths or how many letters of the alphabet are involved. This will clearly affect any attempt to perform a frequency analysis of individual letters, digraphs, trigraphs, etc. I'd be most grateful for any suggestions ! For ease of reproduction I have left the 2 digits unchanged, changed 26 of the symbols to letters and the remaining 2 symbols to * and ?

ABCDEFCGFBGHIJKLMNOEQEEFNKRENHSENODPNTHABONMSOJKEUVWMXJUCYNT*QE*JKPDMRJUCUIRFMNYHJPIXRJNTCFPKFNXEANMWZNM*JKOGMKZZNM*QZNECBQLNTCFHUCCJUMHJDIJTI8QRDPNTIHNPMKDS*JKEGVGCKEXAGRQL*MDERXHCNMQGRKLNEFLCTU*NZXEFHJKRXCVUMZNCCNORQIQRJXFFKEWDR*NZR*GECKBMNGFYGMHNZABMKTCGMLBLCKMNTIU*NONMSENIUHNRWCZZQEDCLNFWKELMBY*UFPBGSMQKRADMXEKA3ADLJQEWTRQE?ABXEX*XGCR

Mark

Is it the cipher of an english text?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Where is it from? A geocache?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**crosswhit99****Member**- Registered: 2014-11-24
- Posts: 4

Yes, the text is in English. It isn't a geocache as such, but it does relate to where an imaginary stash of silver ingots might be buried near Bletchley Park.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Alan Turing's stash?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Why not use a frequency analysis attack on it immediately?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

It is kind of short for that.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

What is the frequency of the letter that occurs the most?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

E of course but it is like any other sample, that only holds for large numbers.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

You can find out the letter with highest frequency here and say it is actually e.

How large?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

The larger the better. In a small sample it might be a something else.

More X's in the ciphertext than anything else suggests that X corresponds to e in the plaintext, but this is not certain; t and a are also very common in English, so X might be either of them also.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

But that is the way you start attacking. You need a dictionary to know if the attck was successful

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

There are many texts that do not follow the same frequency for instance some texts are written without any e's.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Yes, but it is the best way to try.

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

The answer to post #5 is waiting.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

What does that mean?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Have you read the Andrew Hodges book about Alan Turing?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Nah

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

It is rumored that he buried some silver bars, possibly in that area.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**crosswhit99****Member**- Registered: 2014-11-24
- Posts: 4

Yes, it's the second part of a 3 part challenge to locate the stash on a fictional map. The first code was very straightforward to solve, but this one is foxing me. The most frequent symbol is actually N in the above ciphertext (31 occurences), so it's tempting to assign this to E, but as there are 30 different symbols perhaps a handful of them are 'padding' of some sort ?

Offline

**crosswhit99****Member**- Registered: 2014-11-24
- Posts: 4

A quick update:

As I suspected, the 2 digits were not coded, so that left 28 symbols. There was no occurence of J, Q, X nor Z in the plaintext, so only 22 letters were enciphered by these symbols. As you might expect, E and T each had 3 symbols, and A had 2 symbols. G also had 2 symbols, which I thought was a bit odd for a letter that has a frequency of only 2% ? So it did turn out to be a homophonic cipher in the end - very tricky !!

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

A homophonic cipher? What is that?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**crosswhit99****Member**- Registered: 2014-11-24
- Posts: 4

My apologies, it was I that also had 2 symbols, not G, so that fits perfectly with English letter frequencies. Here is a link to a helpful site explaining homophonic ciphers:

http://www.simonsingh.net/The_Black_Chamber/homophonic_cipher.html

Offline

Pages: **1**