Lably
Skip to content

Steganography

Hiding messages in other messages

  • 21 min read
  • 6 chapters

Related on Lably

Through Pixel, Shorthand and Yarn

The word steganography comes from Greek steganographia, which combines the words steganós (στεγανός), meaning "covered or concealed", and -graphia (γραφή) meaning "writing". The first recorded use of the term was in 1499 by Johannes Trithemius in his Steganographia, a treatise on cryptography and steganography, disguised as a book on magic.

The advantage of steganography over cryptography alone is that the intended secret message does not attract attention to itself as an object of scrutiny. Plainly visible encrypted messages, no matter how unbreakable they are, arouse interest and may in themselves be incriminating in countries in which encryption is illegal. Whereas cryptography is the practice of protecting the contents of a message alone, steganography is concerned with concealing both the fact that a secret message is being sent and its contents.

Steganography includes the concealment of information within computer files. In digital steganography, electronic communications may include steganographic coding inside a transport layer, such as a document file, image file, program, or protocol. Media files are ideal for steganographic transmission because of their large size. For example, a sender might start with an innocuous image file and adjust the color of every hundredth pixel to correspond to a letter in the alphabet. The change is so subtle that someone who is not looking for it is unlikely to notice the change.

History

The first recorded uses of steganography can be traced back to 440 BC in Greece, when Herodotus mentions two examples in his Histories. Histiaeus sent a message to his vassal, Aristagoras, by shaving the head of his most trusted servant, "marking" the message onto his scalp, then sending him on his way once his hair had regrown, with the instruction, "When thou art come to Miletus, bid Aristagoras shave thy head, and look thereon." Additionally, Demaratus sent a warning about a forthcoming attack to Greece by writing it directly on the wooden backing of a wax tablet before applying its beeswax surface. Wax tablets were in common use then as reusable writing surfaces, sometimes used for shorthand.

Greek writer Aeneas Tacticus also devised a method of steganography now known as the pinhole cipher. He tells of a method where you are to write a letter and mark specific characters inside the letter with a dot-shaped hole. The recipient of said letter will simply note down all letters below the holes and string them together to form a message. He also suggested writing down a message and whitening it, making it invisible, so that when soaked in water the message would be revealed. He suggests many other hiding methods, such as hiding a message in leaves, in the foot of a messenger's sandal, and even in animal bladders.

In his Compendium of Mechanics, Philo of Byzantium describes a recipe for invisible ink. He says to write down a message with crushed gallnuts dissolved in water. Then it could be revealed by being soaked by a sponge of ferrous sulfate. This recipe was inspired by the recipe for gall ink. Ferrous sulfate and crushed gallnuts dissolved in water both react to make ink so when they combine the message is revealed.

In his Ars Amatoria, Roman poet Ovid noted of a primitive form of invisible ink using milk to be used in writing love letters. Naturalist Pliny the Elder also wrote of the tithymalus plant in his Natural History, and how its milk could be used for invisible ink.

The first recorded use of the term steganography was by Johannnes Trithemius with his Steganographia, a book seemingly about summoning angels to hide messages. In reality however, the book was about steganography, the angel summoning being a cover text. Every angel corresponded to a different method of steganography.

He had written a letter to Arnold Bostius about his book, how it contained many methods of secret writing, how it could be used to communicate without speaking, signing or even nodding and much more. Bostius had died before he could receive the letter, however his colleagues had read and published it, accusing him of conversing with demons. Trithemius had also invited Charles de Bovelles to read his book before de Bovelles threw it away, claiming Trithemius was a magician. This situation led Trithemius to quit the book, not however, his interest in steganography.

In his work Polygraphiae, Trithemius developed his Ave Maria cipher, a polyalphabetic substitution cipher and form of steganography that can hide information in a Latin praise of God. It consists of around 384 alphabets of 24 letters corresponding to 24 words to praise God. To encode a message, take the first letter of your message and replace that letter with the corresponding word in the first alphabet. Do that for the second, the third, and so on. "Conservator magnus conservans cuncta iuftis fuis in felicitatibus amen", for example, contains the concealed word SECRET.

In the year 1606, Frankfurt published Book I and II of the Steganographia, along with an incomplete Book III, and the Clavis Steganographie. The Clavis explained how to extract the secret of the Steganographia from Book I and II. Simply select an incantation to summon an "angel" and extract every other letter of every other word to find the secret steganographic method associated with that angel. With this publication came a slew of books vindicating Trithemius by explaining the steganography, acquitting him of magic. However, Book III was still widely regarded as a work of magic, with no clear way to extract its secrets. It would take until the late 1990s when Jim Reeds and Thomas Ernst independently discovered that it too, was secretly a work of steganography.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication