Skip to main content

A Python Steganography module.

Project description

Stéganô

https://api.travis-ci.org/cedricbonhomme/Stegano.svg?branch=master

A 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

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

Hide the message with the Sieve of Eratosthenes:

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

Running the tests

$ python -m unittest discover -v

Contact

My home page.

Release History

0.6 (2016-08-04)

  • improvements of the command line of Stéganô. The use of Stéganô through the command line has slightly changed (‘hide’ and ‘reveal’ are now sub-parameters of the command line). No changes if you use Stéganô as a module in your software. The documentation has been updated accordingly.

0.5.5 (2016-08-03)

  • bugfix: Incorrect padding size in base642string in tools.base642binary().

0.5.4 (2016-05-22)

  • the generator provided to the functions lsbset.hide() and lsbset.reveal() is now a function. This is more convenient for a user who wants to use a custom generator (not in the module lsbset.generators).

  • performance improvements for the lsb and lsbset modules.

0.5.3 (2016-05-19)

  • reorganization of all modules. No impact for the users of Stegano.

0.5.2 (2016-05-18)

  • improvements and bug fixes for the exifHeader module;

  • added unit tests for the exifHeader module;

  • improvements of the documentation.

0.5.1 (2016-04-16)

  • minor improvements and bug fixes;

  • added unit tests for the slsb and slsbset modules.

0.5 (2016-03-18)

  • management of greyscale images.

0.4.6 (2016-03-12)

  • bugfix when the length of the message to hide is not divisible by 3, for the slsb and slsbset module.

0.4.5 (2015-12-23)

  • bugfix.

0.4.4 (2015-12-23)

  • new project home page;

  • minor updated to the documentation.

0.4.3 (2015-10-06)

  • bug fixes for Python 3;

  • bug fixes in the scripts in ./bin.

0.4.2 (2015-10-05)

  • first stable release on PypI.

0.4 (2012-01-02)

This release introduces a more advanced LSB (Least Significant Bit) method based on integers sets. The sets generated with Python generators (Sieve of Eratosthenes, Fermat, Carmichael numbers, etc.) are used to select the pixels used to hide the information. You can use these new methods in your Python codes as a Python module or as a program in your scripts.

0.3 (2011-04-15)

  • you can now use Stéganô as a library in your Python program; (python setup.py install) or as a ‘program’ thanks to the scripts provided in the bin directory;

  • new documentation (reStructuredText) comes with Stéganô.

0.2 (2011-03-24)

  • this release introduces some bugfixes and a major speed improvement of the reveal function for the LSB method. Moreover it is now possible to hide a binary file (ogg, executable, etc.);

  • a new technique for hiding/revealing a message in a JPEG picture by using the description field of the image is provided.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Stegano-0.6.tar.gz (236.7 kB view details)

Uploaded Source

File details

Details for the file Stegano-0.6.tar.gz.

File metadata

  • Download URL: Stegano-0.6.tar.gz
  • Upload date:
  • Size: 236.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Stegano-0.6.tar.gz
Algorithm Hash digest
SHA256 9a8665feb3302b83ca81779004bb156ed88cfce5431300dab12948aa44dafd67
MD5 730a6622c23c4c57e71bef8474131dd9
BLAKE2b-256 8fcf0ba50fa43ba3582e02babcfb851331de6132c669832960f74968fe3d56f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page