Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. News

This algorithm can hide secret messages in regular-looking text

Add as a preferred source on Google
FontCode: Embedding Information in Text Documents using Glyph Perturbation

Whether it’s hiding messages under the stamps on letters or writing in invisible ink, people have always found ingenious ways of using whatever technology they have available to write secret messages. A new project carried out by researchers at Columbia University continues this tradition by using some deep learning technology to embed encrypted messages in otherwise ordinary looking text.

Recommended Videos

Fontcode” works by making incredibly subtle modifications to everyday fonts like Times New Roman and Helvetica, embedding coded messages inside them. These changes are so subtle that the average person viewing the text would be incredibly unlikely to notice them. They include such alterations as slightly sharper curves or a minutely thicker stem on a particular letter. Each letter has 52 different variations, which makes it possible to encode both lowercase and capital letters within every letter of the alphabet, along with punctuation marks and numbers, too.

The researchers then trained a deep learning neural network to recognize these letters and to match them back to the coded letters in the secret message. With the right smartphone app and just a short period of time for processing the data, it’s possible to decode a secret message from the document it’s embedded in. Simply aim your device at the text and, as if by magic, the real message can be extracted.

Would such a technique ever be applied in the real world? Almost certainly not in everyday conversations, where the idea of having to send one another false text documents to embed a short hidden message sounds like way too much work. However, that doesn’t mean that this is relegated to being an impractical, albeit impressive, demo. It could certainly have applications in the security field, as well as potentially as an invisible watermark. Heck, you could even use it as a to- secret QR code to link to a web address.

A paper describing the project, titled “FontCode: Embedding Information in Text Documents using Glyph Perturbation,” will be presented later this year at the Special Interest Group on Computer Graphics and Interactive Techniques (SIGGRAPH) 2018 conference.

Someone should probably forward this research on to the James Bond producers before then, though. We can totally imagine Daniel Craig using the “Fontcode” algorithm in the next 007 movie!

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Meta’s Brain2Qwerty v2 turns thoughts into text, and it doesn’t need brain implants
The latest AI model decodes brain signals into coherent sentences using external scanners.
Meta Brain2Qwerty v2 Featured

Artificial intelligence is getting surprisingly good at understanding humans. Now, Meta wants it to understand our brains too. The company has unveiled Brain2Qwerty v2, an upgraded AI system that can translate brain activity into full sentences, all without requiring brain implants or surgery. The goal isn't mind reading for the masses. Instead, it's to help people who have lost the ability to speak communicate again.

How a Brain-powered keyboard works

Read more
AI chatbots can often feed into your delusions. Researchers say you should look for three signs
Experts warn that chatbot design choices can reinforce unhealthy beliefs in vulnerable users.
ChatGPT on a smartphone

Artificial intelligence chatbots have become incredibly good at sounding human. But a new review paper by psychiatrist Marc Augustin and fellow researchers Thomas A. Pollak and Helen Morrin, published in NPP—Digital Psychiatry and Neuroscience, argues that existing AI research points to an overlooked psychological risk. The paper, highlighted by The Wall Street Journal, reviews previous studies and proposes a framework explaining how three common chatbot behaviors can combine to reinforce delusional thinking in vulnerable users, creating what the authors call an "amplification spiral."

Researchers say these are the three warning signs

Read more
Lost access to your crypto wallet? Don’t Google your way out of it
Security researchers warn that fake recovery tools are becoming the latest trap for crypto owners.
Bitcoin crypto wallet featured

Forgetting the recovery phrase to a crypto wallet can be stressful enough. Unfortunately, that's exactly the moment scammers are waiting for. A new warning highlights a growing scam in which cybercriminals disguise malware as cryptocurrency recovery software, tricking desperate users into handing over far more than just access to their wallets.

The fake recovery tool that's actually malware

Read more