Skip to content

Encode a secret message within an image using least significant bit steganography

Notifications You must be signed in to change notification settings

radavies/secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Secret

Takes an image as input and hides a text message, read from a file, within the image, before saving this to a new output image.

Can then read a previously created secret image and retrieve the message, writing it to an output text file.

The message is AES encrypted before being written into the image.

Currently works with JPG images.

Uses least significant bit steganography (using the two least significant bits).

Note - For some reason it currently only seems to work for portrait images.

Example arguments

To write a secret image:

key="xyz123" image="small.jpg" message="message.txt" output="out.jpg" job="write"

To read a secret image

key="xyz123" image="out.jpg" output="read.txt" job="read"

Inspired By

This program was inspired by a Computerphile (@computer_phile) video on stenanography (https://www.youtube.com/watch?v=TWEXCYQKyDc)

About

Encode a secret message within an image using least significant bit steganography

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages