Newshot

Cracking the cryptogram in a Zürich law firm's window

Original text(via Hacker News)

Cracking the cryptogram in a Zürich law firm's window

06 December 2026

If you ever find yourself at the Höschgasse tram stop in Zürich (Google Street View link (opens in a new tab)), you might notice some strange symbols inside the office building next to you.

Höschgasse Street View
Höschgasse Street View

If you spend some time looking at these symbols, like I did, you might notice:

  • the symbols are grouped into chunks like words,
  • many symbols repeat across the text, as letters would,
  • and there are even punctuation marks scattered around.

This makes it very likely that we are looking at a cryptogram (opens in a new tab), a type of puzzle where some originally readable text (called the plaintext) is encrypted via various methods to obtain a seemingly unreadable version of it (called the ciphertext).

I want to walk you through my journey of cracking it and uncovering the original text, which will also reveal the artist behind it and how it came to be installed in this office of Swiss law firm Walder Wyss.

If you instead want to try your hand at cracking it yourself, you can find the pictures of the 6 panels below, before the spoilers start!

The panels

Panel 1
Panel 1
Panel 2
Panel 2
Panel 3
Panel 3
Panel 4
Panel 4
Panel 5
Panel 5
Panel 6
Panel 6

Sorry about the glares and reflections, these are the best photos I could take on the day!

First observations

Reading direction

On every panel, the text is right-justified. The punctuation spacing seemingly also indicates a right-to-left reading order.

On closer inspection, you can notice that the symbols are 3D cutouts from the panels, implying they would also be visible from inside the building. So it might be written left-to-right for viewers inside the building but we are just looking at it flipped!

I assumed this was the case, as left-to-right writing is much more common in Switzerland. Under this assumption, Panel 6 is the start and Panel 1 is the end.

Word lengths

If you focus on, e.g., the first panel, you’ll see a lot of long words and not many short ones. This might give us hints about the language of the original text. For example, it made me think English is not very likely.

Mysterious vertical bars |

On all panels except the first, there are thin vertical bars scattered around. These don’t have wiggly lines like the other symbols.

They don’t seem to be punctuation, as we already have those. They also don’t seem to act as line breaks or paragraph endings, as we can see empty lines serving that purpose on several panels.

This remained a mystery for me until I cracked the whole thing, but perhaps you can already start guessing what they represent?

Transcribing the symbols

One can only get so far looking at wiggly lines on a photograph. What we really need to make progress is a transcription of the symbols into an alphabet we can play with.

This will unlock many avenues for us, such as:

  • counting how many unique symbols there are,
  • counting how often each symbol appears (a.k.a. frequency analysis),
  • checking if there are words or phrases that repeat,

Let’s stare at a few symbols together and come up with a way to transcribe them:

A couple words
A couple words

There are two ways to “see” each symbol:

  • two L-shaped black polygons of different sizes “facing” each other,
  • or some white line segments “on top of” what would normally be a black rectangle.

To me it’s easier to see each symbol as a path of white line segments on top of a black rectangle canvas. Here is what I notice:

  • each symbol consists of two horizontal line segments at different heights (always at different heights!) connected by a vertical line segment,
  • there seem to be four distinct height levels for those horizontal lines,
  • each symbol also has a thicker vertical line segment coming down or up from one of the four corners of the rectangle.

Using these observations, we can uniquely identify each symbol by three pieces of information: its left height, its right height, and the corner with the thick line.

图表:Click a corner letter or a height number to draw a different symbol.

We can now turn each symbol into a small “codename” like D42 or A13.

New observations unlocked

Number of potential symbols

There are four corners, four potential heights for the left side, and for each left height there are three potential heights for the right side (since they can’t be the same).

This gives us 4 x 4 x 3 = 48 potential symbols, so more than enough to cover many human alphabets.

Repeated words

I started by transcribing some small 3-symbol words from various panels to see if I could find repeated words.

I was happy to see that several of them appear multiple times, such as (C23 C43 C23), (D12 D42 C23), and (A32 A12 D42) each appearing at least 4 times.

Why does this matter? Because it’s a good indication that we might be looking at a simple substitution cipher (opens in a new tab), where each letter in the plaintext was substituted with a single symbol, and this letter-symbol mapping was kept fixed throughout the encryption. This makes our job easier!

Panel 1 transcribed

With some help from my brother, I manually transcribed all the symbols on Panel 1 (since it was the shortest one). This is how that looks (spaces represented by hyphens):


        C31 C23 D21 D31 C42 D21 - A32 D42 - C31 C23 D21 A13 C42 C31 A12
A12 C31 A31 A42 C31 - C13 A42 C31 A12 C23 D42 D12 C31 A31 A42 A32
A42 A12 A12 A42 C31 - C13 A42 A31 C43 A32 C42 A42 A12 C23 C43 D12
A12 D21 A12 C43 C42 A42 D31 D21 D13 - A12 D21 C42 C42 C31
C31 D32 C23 A42 C13 - A31 C43 A42 A32 A32 D21 A42 A21
. C24 - C43 C13 C31 A31 C24 - B21 D42 - A12 D42 A32 D21 A32 D42 D21
D21 A32 D42 C13 - A12 C31 C23 C43 A12 D21 C23 - C31 C31 D32 C31 A13 C43
C43 A31 D31 C31 C42 - C23 C43 D42 A12 C43 C21 C24 A31 C43 C13
D21 A31 A42 A32 C24 C31 A31 D12 A12 - A12 C23 D42 C31 A31 A42 D21 C21
D21 D12 C31 C21 C24 D21 A31 D23 C43 A32 C24 B31 A31 D12
C31 D12 D21 D23 D21 A12 - C13 A42 D12 - D21 C23 D23 D21 C13
A12 A42 A12 A31 A42 - A32 C31 B21 C23 C31 D13 D13 D42 - D42 A32 D21 A32
. A31 D42 D31 A42 A31 - A12 A42 A32 D21 D42 D31

A13 B21 C13 C13 - C31 C23 C31 C13 C43 D32 - C43 C23 C23 D21
      

I know it doesn’t look much better than the photo, but having the entire page transcribed and on a computer lets us start experimenting with decryption attempts!

I’ll sometimes go back to using the symbols below because they look nicer, but know that behind the scenes they are all represented by codes like A13.

Interactive decryption

One thing we can try at this point is to just attempt decrypting manually. Any coding agent is good enough to build a simple interactive tool for us to play with.

Unfortunately, I did not get very far with my manual decryption attempts, but you are welcome to give it a try below! Note that I also flipped the panel so we can see it in the order I assumed it should be read.

Computational decryption

At this point, I asked Claude Opus 5.5 to teach me some computational decryption techniques we could try on this cryptogram. It suggested trying “simulated annealing with quadgram scoring” which sounds like intimidating technical jargon, but turns out to be relatively intuitive!

Simulated annealing with quadgram scoring

Simulated annealing (opens in a new tab) is a probabilistic algorithm for optimizing a given function. It starts with a random candidate solution, and iteratively tries to make small moves to other candidate solutions to try to find the optimum.

In general, the algorithm tries to move to candidate solutions that improve the score it’s trying to optimize, but will sometimes allow switching to worse candidates for exploring different parts of the solution space, especially early on in the process.

To use this algorithm, we need:

  • a way to represent candidate solutions,
  • a way to make small moves from one candidate solution to another,
  • and a way to score candidate solutions so we know which ones are better than others.

Candidate solutions

Every unique mapping from symbols to letters is a candidate solution.

Note that there are 22 unique symbols on the transcribed panel but most languages have more letters than that, so any candidate solution will have some unused letters. For English, we can visualize candidate solutions like this:

图表:One random candidate solution.

Moving between candidate solutions

Here are two potential small moves we can imagine between candidate solutions:

  • choose two symbols and swap the letters assigned to them
  • pick a symbol and change its assigned letter to a letter that’s not currently used

Scoring a candidate solution

To evaluate how good a candidate solution is, we need to measure how much the text we obtain using that solution looks like readable text in a language.

This is where quadgrams come in. A quadgram (a.k.a. 4-gram) is any continuous sequence of four characters in a text.

If a candidate solution leads to many quadgrams that we often see in real human texts, the candidate gets a good score. If it leads to many quadgrams that are very rare in real texts, the candidate gets a bad score.

To be able to use this technique, we need to either find quadgram statistics online for languages we want to check, or we need to estimate these frequencies ourselves by downloading a corpus of text and counting. Claude suggested we could just download a few Wikipedia pages and do our own counting.

Using self-counted statistics for English, here is how the scoring might look for a completely random candidate solution:

And here is how a better candidate closer to the true solution (THE TRAM IS HERE) might be scored:

Note that spaces also count as characters when checking quadgrams, this lets us capture popular word beginnings and endings, in addition to common small words.

The mathematical details of why all the scores are negative are out of the scope of this post. The important takeaway is that common quadgrams get better scores and rare ones are penalized!

Attempt 1: German

Being in Zürich and given the long words in the panel, the first natural language to try was German.

The quadgram statistics again came from a few Wikipedia pages in German. Popular quadgrams include a lot of three-letter word + space combinations, such as ␣der and und␣ in addition to common German letter sequences like isch and chen.

Below you can try the simulated annealing algorithm starting from different random candidate solutions.

Note that due to the way our quadgram scoring works, even good candidate solutions and the true solution will have negative scores. The important thing to check is whether the algorithm always converges to the same solution and whether that solution is valid readable text!

You’ll notice that each attempt converges to a separate solution, often around a similar score range. The lucky outputs look like almost readable text, but definitely not actual German.

Even though this attempt didn’t lead to a solution, it can still lead us in the right direction! Did you notice suffixes like -orum, -us, and -as in many of the runs or the general look and feel of a Latin text? Maybe this is a sign to change the language?

Attempt 2: Latin

Let’s run the exact same algorithm, but replace the quadgram frequencies with new ones obtained from a bunch of Latin pages on Vicipaedia (opens in a new tab). Common quadgrams in this language include ␣et␣, ␣in␣, rum␣, and ␣est.

You should notice that no matter the starting candidate, unless you are really unlucky, the algorithm always converges to the same, true solution! We cracked the cipher!

So what does it say?

In Latin, here is what this panel says:

Silvani et Albani Turicensium iuris consultorum iussu illas fabulosas quattuor mundi aetates ex primo P. Ovidii Nasonis Metamorphoseon libro hauriens scriptura cryptographica magna cum sagacitate effinxit Ursus Beatus Ruber. Anno Domini MMXV

Silvani et Albani Turicensium iuris consultorum iussu illas fabulosas quattuor mundi aetates ex primo P. Ovidii Nasonis Metamorphoseon libro hauriens scriptura cryptographica magna cum sagacitate effinxit Ursus Beatus Ruber.

Anno Domini MMXV

Note that on the panel some line breaks appear in the middle of words, such as meta-morphoseon and saga-citate, but they are merged back into single words above to obtain valid Latin.

This is a translation from Claude (Google Translate gives back something similar):

By order of Silvanus and Albanus, legal experts of Zürich, Ursus Beatus Ruber, drawing on the first book of P. Ovidius Naso’s Metamorphoses, rendered those fabled four ages of the world in cryptographic script with great ingenuity. In the year of the Lord 2015

By order of Silvanus and Albanus, legal experts of Zürich, Ursus Beatus Ruber, drawing on the first book of P. Ovidius Naso’s Metamorphoses, rendered those fabled four ages of the world in cryptographic script with great ingenuity.

In the year of the Lord 2015

As we expected, this Panel 1 is indeed the last part of the text, and in fact turns out to be the colophon (opens in a new tab), which tells us about the cryptogram itself!

Here are some things we can learn from it:

“By order of Silvanus and Albanus, legal experts of Zürich.”

  • Silvanus comes from “silva” which means “forest” in Latin. In German it would be Wald.
  • Albanus comes from “alba” which means “white” in Latin. In German it would be Weiss (or Wiis in Swiss German).
  • As I mentioned at the beginning, the building belongs to the law firm Walder Wyss (opens in a new tab)! The name comes from two of its founders, Ernst Walder (Silvanus) and Hans B. Wyss (Albanus).

“Ursus Beatus Ruber … rendered … in cryptographic script with great ingenuity.”

  • Ruber means “red” in Latin, which would be Rot in German. So we could translate this name to Urs Beat Rot.
  • Urs Beat Roth (opens in a new tab) is a Swiss architect and artist who describes himself as a “geometry engineer”. We found our artist!

“drawing on the first book of P. Ovidius Naso’s Metamorphoses”

  • Metamorphoses (opens in a new tab) is (apparently) a Latin poem from 8 CE by the Roman poet Ovid (opens in a new tab). This gives us a pretty big hint that the other panels will be encrypted versions of parts of this poem. I’ll talk more about those below!

The other panels

The other panels can be solved in the same way, and as indicated by the colophon, they turn out to be an encrypted version of a part of Metamorphoseon I (opens in a new tab).

Specifically, they contain the passages on the four ages from verses 89 to 150, starting with “Aurea prima sata est aetas, quae vindice nullo,” on panel 6 and ending with “ultima caelestum terras Astraea reliquit.” on panel 2.

Decrypting these panels allows us to answer one of the initial mysteries: the vertical bars on panels 2-6 indicate verse endings, since one verse of the poem doesn’t always fit on one line on the panels. One additional vertical bar is used in panel 3 in the middle of a verse to emphasize the transition from the Bronze Age to the Iron Age.

It is a mostly accurate encryption of the text, although it does have a handful of deviations that are possible typos. For example: a vertical bar is missing at the end of verse 145, a couple of words are missing a letter, and a couple of uppercase I characters got swapped with lowercase l characters.

Below is a full decryption of these panels (flipped, going from panel 6 to panel 2).

图表:Panel 6 · verses 89–101

图表:Panel 5 · verses 102–113

图表:Panel 4 · verses 113–126

图表:Panel 3 · verses 126–138

图表:Panel 2 · verses 138–150

The symbol alphabet

After decrypting the whole text, below is the mapping we find between symbols and actual letters, laid out in a grid according to my transcription technique.

I also added an option to “flip” to the inside view of the symbols (which also changes the codenames of the symbols to what they would be if we transcribed them from the inside).

It turns out there is a system to how the substitution of letters to symbols was made, and it’s even clearer to see from the inside view.

As we go alphabetically through the ISO basic Latin alphabet (opens in a new tab), the first letters all have the thick line at corner D, the next set of letters at corner C, then A, then B. If you are looking at the inside view, it goes C→D→B→A instead.

Within a corner group, we can see the letters are sorted by (right height, left height) pairs from the outside, or by (left height, right height) pairs from the inside.

This means that from the inside view, the numbers within each group actually go from smallest to largest: 12, 13, 21, 23, 24, 31, 32, 34, 42.

It seems the artist decided to avoid symbols going from height 4 to height 1 or vice versa, explaining the lack of any 41 and 14 in the alphabet.

Knowing this system, we are also able to figure out how the letters that don’t appear in the panels (J, K, W) would look as symbols.

Additional reading

After cracking the first panel and learning the artist’s name, I searched online and found this 2025 book (opens in a new tab) called “Die Liebe zur Geometrie” or “The Love of Geometry” about Urs B. Roth’s works.

If this sparked your interest, you can learn more about the artist and even a bit more about this cryptogram in the book, along with many of his other works.

For example, I learned from it that this piece is titled Jali, inspired by an Indian architectural element of the same name! (opens in a new tab)

Closing thoughts

This cryptogram has been sitting next to this tram stop in central Zürich for 11 years, but I’ve never seen anyone mention it before, and my searches online didn’t bring up any articles or videos talking about it either.

Please write to me if you feel like discussing this puzzle or my write-up, especially if you’ve seen this cryptogram, thought about it, or solved it before!

In any case, I hope this post will satisfy the curiosity of others who have seen it before and wondered like me.

Thanks to Walder Wyss and Urs Beat Roth for this fun puzzle!

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗