Skip to content

barleyj/Stegano

 
 

Repository files navigation

Stéganô

image

image

image

image

Stéganô, a pure Python Steganography module.

Installation

$ sudo pip install Stegano

You will be able to use Stéganô in your Python programs or as a command line tool.

Usage

A tutorial is available.

Use Stéganô as a library in your Python program

If you want to use Stéganô in your Python program you just have to import the appropriate steganography technique. For example:

>>> from stegano import lsb
>>> secret = lsb.hide("./tests/sample-files/Lenna.png", "Hello World")
>>> secret.save("./Lenna-secret.png")

Use Stéganô as a program

Hide a message

$ lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png

Hide the message with the Sieve of Eratosthenes

$ lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png

The message will be scattered in the picture, following a set described by the Sieve of Eratosthenes. Other sets are available. You can also use your own generators.

This will make a steganalysis more complicated.

Running the tests

$ python -m unittest discover -v

Contact

Cédric Bonhomme

About

Stéganô is a pure Python steganography module. Different methods of steganography and steganalysis are provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%