Skip to content

sebleier/stega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stega

Stega is a simple steganography tool that allows you to losslessly embed messages into images. The image that comes back is same as the original.

The only requirement is that you use a lossless image format, so no jpeg images will work.

This implementation was adapted from a paper titled "Lossless Data Hiding in the Spatial Domain for High Quality Images", written by Hong Lin Jin, Masaaki Fujiyoshi, and Hitoshi Kiya

Usage:

image = Image.new('RGB', (111, 111))
msg = "What hath God wrought. "
s = Stega(image)
s.add_message(msg)

im, message = s.extract()
assert message == msg

Run tests:

$ ./runtests

About

A steganography tool for lossless message hiding in images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages