Hiding Secret Messages Inside Images, Securely

By Nuruzzaman Faruqui

·

Encryption scrambles a message so outsiders cannot read it. Steganography goes further: it hides the message so outsiders do not know it exists. This research combines both to tuck secret messages inside ordinary-looking pictures.

3layers of security
0decryption errors
32citations

The problem

Messages sent over the internet can be intercepted. Encrypted messages are unreadable but obviously secret, which can attract attention. Steganography hides data inside innocent files like photos, but it needs to keep the picture looking unchanged and the hidden data safe.

What the research did

We combined three protections. First, the message is encrypted with the Advanced Encryption Standard (AES), the same standard used by banks and governments. Second, the encrypted message is mixed with the image’s own pixel values using an XOR operation. Third, it is hidden in the image after a mathematical transformation called the Discrete Cosine Transform, which is also used in JPEG compression.

What we found

The method kept the image looking almost unchanged, with a better peak signal-to-noise ratio (a standard image-quality measure) than most similar methods. It provided three layers of security and decrypted messages without errors.

Who benefits

  • Journalists, activists and businesses needing private communication
  • Digital watermarking and copyright protection
  • Security researchers working on secure communication

Limits and what comes next

Steganography can be targeted by specialised detection tools, and robustness when images are compressed or edited would need further testing.

The team

This paper was led by Ashraful Tauhid, Maisha Tasnim and Saima Arifin Noor (Bangladesh University of Professionals) with me and Mohammad Abu Yousuf (Jahangirnagar University). It was one of my earliest publications, from 2019.

Frequently asked questions

What is steganography?

The practice of hiding a message inside another file, such as an image, so that nobody suspects it is there.

How is it different from encryption?

Encryption makes a message unreadable; steganography hides that a message exists. This method uses both.

Does hiding a message damage the image?

Very little. The method keeps image quality high, measured by peak signal-to-noise ratio.

About the author

Nuruzzaman Faruqui is an award-winning AI educator and researcher who has taught artificial intelligence and machine learning at university level since 2018. A two-time winner of the Excellence in Teaching Award (2023, 2024) and winner of the Best Researcher Award (2024) at Daffodil International University, he is now a doctoral researcher in AI at Monash University, Australia. He has published 53 papers and six books, and writes these articles to make AI research easy for everyone to understand. His teaching · About Zaman · Get in touch

Keep reading