Skip to content

danelia/Steganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Steganography

Python program based on steganographical methods to hide files in images.

Information

  • encode_image(msg, img_loc, out_loc) takes message(msg) and hides it in image(img_loc) and saves in out_loc. default ouput file is "encoded_image.png". msg can be either file or string.
  • decode_image(img_loc) takes image and finds hidden message. If output file isn't specified(see usage) hidden message will be displayed on terminal.

Note that, program only supports RGB images and output image has to have .png extension.

Installation

pip install -r requirements.txt

Usage and Options

Usage:
  main.py encode -i <input> -m <message/file> -o <output>
  main.py encode -i <input> -m <message/file>
  main.py decode -i <input> -o <output>
  main.py decode -i <input>
  
Options:
  -h, --help                	Show this help
  -V, --version                 Show the version
  -m,--message=<message/file>   File to hide
  -i,--in=<input>           	Input image
  -o,--out=<output>         	Output image/file for text (optional, default img is "encoded_image.png")
  

About

Python program based on steganographical methods to hide files in images by Giorgi Danelia (lakeny)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages