ArticleslgStudy

computer science

Cardan grille

Cardan grille is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cardan grille rather than just read about it. In short: The Cardan grille is a method of writing secret messages using a grid. History This technique was used in ancient China.

Cardan grille — main illustration
Cardan grille — illustration

Key takeaways

  • Cardan grille belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cardan grille to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cardan grille from memory before moving on to harder problems.

Reference excerpt

The Cardan grille is a method of writing secret messages using a grid.

History This technique was used in ancient China. In 1550, Girolamo Cardano (1501–1576), known in French as Jérôme Cardan, proposed a simple grid for writing hidden messages. He intended to cloak his messages inside an ordinary letter so that the whole would not appear to be a cipher at all. Such a disguised message is considered to be an example of steganography, which is a sub-branch of general cryptography. But the name Cardan was applied to grilles that may not have been Cardan's invention, and, so, Cardan is a generic name for cardboard grille ciphers. Cardinal Richelieu (1585–1642) was reputed to be fond of the Cardan grille and to have used it in both private and diplomatic correspondence. Educated men in 17th century Europe were familiar with word games in literature, including acrostics, anagrams, and ciphers. Although the original Cardan grilles were little used by the end of the 17th century, they still appeared occasionally in the form of masked letters and as literary curiosities. George Gordon Byron, for example, claimed to have written Cardan-grille verse – but as a demonstration of verbal skill rather than a serious cipher. Alternative grilles possess apertures for single letters only and can be used quickly. Messages are filled out with a jumble of letters or numbers and are clearly cryptograms whereas Cardano intended to create steganograms. These single-letter grilles may be named after Cardano, but they are also called simply cardboard ciphers. A further variation is a turning grille or trellis, based on the chess board, which was used in the latter 16th century. The turning grille reappeared in a more sophisticated form at the end of the 19th century; but, by this time, any connection with Cardano was in name alone.

Construction

A Cardan grille is made from a sheet of fairly rigid paper or parchment, or from thin metal. The paper is ruled to represent lines of handwriting and rectangular areas are cut out at arbitrary intervals between these lines. An encipherer places the grille on a sheet of paper and writes his message in the rectangular apertures, some of which might allow a single letter, a syllable, or a whole word. Then, removing the grille, the fragments are filled out to create a note or letter that disguises the true message. Cardano suggested drafting the text three times in order to smooth any irregularities that might indicate the hidden words. The recipient of the message must possess an identical grille. Copies of grilles are cut from an original template, but many different patterns could be made for one-to-one correspondence. The grille can be placed in four positions – face up and face down, upright and reversed – which increases the number of possible cell positions fourfold.

In practice it can be difficult to construct an innocent message around a hidden text. Stilted language draws attention to itself and the purpose of the Cardan grille is to create a message “without suspicion” in the words of Francis Bacon. But the task was easier for Cardano, because 16th century spelling was not standardised and left much room for contractions and adornments of penmanship.

Detection of messages When executed badly, a Cardan message stands out because of stilted language and uneven writing. An analyst may attempt to reconstruct the grille when there are several examples of suspect messages from a correspondent. When executed well, a Cardan message can be difficult to spot. Even when an analyst suspects the presence of a message, an innocent letter can contain apparently hidden text. So, in practice, the only solution is to obtain the grille itself.

Disadvantages The method is slow and requires literary skill. Above all, any physical cipher device is subject to loss, theft and seizure; so to lose one grille is to lose all secret correspondence constructed with that grille. Possession of a grille may be incriminating. The Cardan grille, in its original form, is of more literary than cryptographic interest. For example, controversy surrounds the Voynich manuscript which could be a 16th-century fake cipher text, possibly constructed with a Cardan grille which was used to generate pseudo-random nonsense from a pre-existing text.

See also Grille (cryptography)

References

David Kahn, The Codebreakers — The Comprehensive History of Secret Communication from Ancient Times to the Internet, 1996, ISBN 0-684-83130-9.

External links https://web.archive.org/web/20111005155213/http://www2.si.umich.edu/spies/methods-mask.html

Illustrations

Cardan grille: Four positions of the grille.
Four positions of the grille.

Worked examples

Example 1 — a first encounter with Cardan grille

Start with the simplest possible case. Write down what Cardan grille claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cardan grille before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cardan grille ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cardan grille

In research
Cardan grille appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cardan grille in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cardan grille is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cardinal Richelieu, Classical cryptography, so understanding it makes those chapters shorter.
In everyday life
Look for Cardan grille outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cardan grille” →

How to study Cardan grille in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cardan grille means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cardan grille out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cardan grille in simple terms?

The Cardan grille is a method of writing secret messages using a grid. History This technique was used in ancient China.

Why does Cardan grille matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cardan grille?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cardan grille.

Tags

  • Cardinal Richelieu
  • Classical cryptography

Keep exploring