Skip to content
/ steg Public

Steganography : Hide data in bitmap image implemented using C

License

Notifications You must be signed in to change notification settings

JNjenga/steg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steg


Article : Steganography, Hide Text in Image

Steg is a steganography implementation done using C. Steganography is the art of hiding information inside other files, in this case inside an image.

Can you see any difference ?

Original Encrypted
Original Encrypted

The second image has the English version of the Kenyan national anthem hidden inside it.

How Build

make build - Requires GCC compiler

or

Compile the steg.c file using any C compiler that supports C99.

Usage

steg [mode] [type] [input_file] [out_file] [plain_text]

steg [mode] [type] [input_file] [out_file]

Mode : Encrypting or decrypting

  • -e - encrypting
  • -d - decrypting

Type : Type of data we are hiding, text or image data

  • -t - text, hide text data in image
  • -i - hide image inside another image

Only supports ARGB bitmap file format at the moment

Usage Example

Encrypting

steg -e -t input.bmp output.bmp plain.txt

Decrypting

steg -d -t input.bmp output.txt

License

Check license readme

About

Steganography : Hide data in bitmap image implemented using C

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published