Skip to the content
  • Search
    • Deutsch
    • Leichte Sprache
    • Čeština
  • Font/Contrast
    • Change contrast
    • Enlarge font
  • Exhibition
    • The Exhibits
    • Mobile Adventure Land
    • MathsLive
  • Visit
    • Visitor information
    • Contact
  • Adventureland Online
    • Advanced Texts
    • Workshops2Go
    • #enjoyinglearning
  • Schools visiting
    • Schools visiting
    • Workshops
    • Tips for the visit
  • Leisure
    • Leisure
    • The Epsilon
    • Actionsbounds
    • Mathematics in Conversation
    • Handicraft sheets
    • Borderless Adventure Land
  • About Us
    • About Us
    • Support Association
    • Sponsors and Supporters
    • Jobs
    • Contact
  • Exhibition
    • The Exhibits
    • Mobile Adventure Land
    • MathsLive
  • Visit
    • Visitor information
    • Contact
  • Adventureland Online
    • Advanced Texts
    • Workshops2Go
    • #enjoyinglearning
  • Schools visiting
    • Schools visiting
    • Workshops
    • Tips for the visit
  • Leisure
    • Leisure
    • The Epsilon
    • Actionsbounds
    • Mathematics in Conversation
    • Handicraft sheets
    • Borderless Adventure Land
  • About Us
    • About Us
    • Support Association
    • Sponsors and Supporters
    • Jobs
    • Contact
  • Search
  • Font/Contrast
    • Kontrast ändern
    • Schrift vergrößern
    • Deutsch
    • Leichte Sprache
    • Čeština

Crack the Code

A sequence of letters appears on a screen, divided into blocks but unreadable at first glance. It is the encoded (ciphered or “coded“) form of an initially unknown text (“plaintext“). In other words, what you see is not the “plaintext”, but an encrypted or ciphertext, the “ciphertext“. The task of so-called decoding is to translate (decipher, i.e., translate) the ciphertext back into the corresponding plaintext. To do this, the code with which the plaintext was encoded, i.e. encrypted, must be “cracked“.

The ciphertexts that appear on the screen in EXPERIENCE LAND MATHEMATICS have been encoded according to a monoalphabetic code. This code assigns exactly one letter of the ciphertext alphabet to each letter of the alphabet. Such a code has been known and famous for over 2000 years as the so-called Caesar cipher. It bears the name of the Roman general and emperor, Gajus Julius Caesar (100–44 B.C.), who “coded” correspondence with his troops in this way. The alphabet of the ciphertext is created simply by shifting the order of the letters in the alphabet of the plaintext by a certain number of digits (translation). When shifted by four digits, the letters of the plaintext alphabet become the following ciphertext alphabet:

AE
BF
CG
DH
EI
FJ
GK
HL
IM
JN
KO
LP
MQ
NR
OS
PT
QU
RV
SW
TX
UY
VZ
WA
XB
YC
ZD

Table 1: The Caesar cipher

For example, if you want to arrange a “secret” meeting in ADVENTURELAND MATHEMATICS with your girlfriend or boyfriend, the meeting place would be in the secret code:

IVPIFRMWPERH QEXLIQEXMO.

As a rule, however, in a monoalphabetic code the letters of the plaintext alphabet are not “shifted” evenly, but permuted, i.e. jumbled up. An example of this is the following coding:

AD
BF
CG
DK
EI
FJ
GH
HL
IM
JE
KO
LP
MR
NQ
OS
PB
QU
RV
SN
TX
UY
VA
WZ
XT
YC
ZW

Table 2: Another monoalphabetic encoding

The ADVENTURELAND MATHEMATICS would now be called in the cipher

IBPIFQMPDQK RDXLIRDXMO.

The code is a (reversible) unique assignment of one letter of the plaintext alphabet to one letter of the ciphertext alphabet. For this there is exactly

    \[26!=1\cdot2\cdot3\cdots26=403.291.461.126.605.635.584.000.000\]

Possibilities!

Despite this dizzying number, there is a chance to crack such a code in a manageable amount of time. For this purpose, the so-called frequency analysis is used. First, the frequencies of the individual letters in the ciphertext are determined and compared with the general frequencies of the letters in the language of the (unknown) plaintext. Then the letters in the ciphertext are replaced by the letters of the same frequency in the language. You start with the most common letters. In the German plain texts, these are “E” and “N”. This method, which can be tried on our exhibit (by first trying to find the “E” in the plaintext, then the “N”, and so on), is of course more reliable the longer the text to be deciphered. The following table shows for German-language texts which relative frequencies the individual letters of the alphabet have with regard to their occurrence:

PositionLetterRelative frequency
1.E17,40%
2.N9,78%
3.I7,55%
4.S7,27%
5.R7,00%
6.A6,51%
7.T6,15%
8.D5,08%
9.H4,76%
10.U4,35%
11.L3,44%
12.C3,06%
13.G3,01%
14.M2,53%
15.O2,51%
16.B1,89%
17.W1,89%
18.F1,66%
19.K1,21%
20.Z1,13%
21.P0,79%
22.V0,67%
23.ß0,31%
24.J0,27%
25.Y0,04%
26.X0,03%
27.Q0,02%

Table 3: Relative frequencies of the letters

For comparison: If the 27 letters (including “ß”) were distributed equally, the frequency would be 3.704% in each case.

Literature

[1] Bauer, F.L.: Entzifferte Geheimnisse. Codes und Chiffren und wie sie gebrochen werden, Berlin / Heidelberg, 1995.

[2] Beutelspacher, A. u.a.: Mathematik zum Anfassen, Mathematikum, Gießen, 2005.

[3] Beutelspacher, A.: Kryptologie, 7. Auflage, Wiesbaden, 2005.

[4] Singh, S.: Secret Messages. The art of encryption from antiquity to the times of the Internet, 7. Auflage, München, 2006.

Opening Hours and Ticket Prices

Tuesday – Friday: 9 am – 5 pm
Saturday, Sunday and holidays: 10 am – 6 pm

Entry: 5 Euro / discount. 4 Euro

Special prices apply for groups and families, for guided tours or for photo and video permission.

  • Legal Notes
  • Data protection
  • Accessibility
© 2022

Adress

Erlebnisland Mathematik
Technische Sammlungen Dresden
Junghansstraße 1-3
01277 Dresden

Visitor Service

0351 – 488 7272 | service@museen-dresden.de