Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
projects:stegano [2014/07/23 13:41] – cedric | projects:stegano [2020/04/12 15:54] – cedric |
---|
====== Stéganô ====== | ====== Stéganô ====== |
Stéganô is a Python [[http://en.wikipedia.org/wiki/Steganography|Steganography]] module. | |
It uses the Python Imaging Library (PIL). | [[https://pypi.python.org/pypi/Stegano|{{https://img.shields.io/pypi/pyversions/Stegano.png?style=flat-square}}]] |
| [[https://github.com/cedricbonhomme/Stegano/releases/latest|{{https://img.shields.io/pypi/v/Stegano.png?style=flat-square}}]] |
| [[https://www.gnu.org/licenses/gpl-3.0.html|{{https://img.shields.io/pypi/l/Stegano.png?style=flat-square}}]] |
| [[https://travis-ci.org/cedricbonhomme/Stegano|{{https://img.shields.io/travis/cedricbonhomme/Stegano.png?style=flat-square}}]] |
| [[https://coveralls.io/github/cedricbonhomme/Stegano?branch=master|{{https://img.shields.io/coveralls/cedricbonhomme/Stegano/master.png?style=flat-square}}]] |
| [[https://github.com/cedricbonhomme/Stegano/stargazers|{{https://img.shields.io/github/stars/cedricbonhomme/Stegano.png?style=flat-square}}]] |
| [[https://saythanks.io/to/cedricbonhomme|{{https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.png?style=flat-square}}]] |
| |
| |
| Stéganô is a pure Python [[http://en.wikipedia.org/wiki/Steganography|Steganography]] module. |
| |
Stéganô is under GPL v3 license. | Stéganô is under GPL v3 license. |
| |
Python >= 3.2 | * [[https://git.sr.ht/~cedric/stegano | Home page]]; |
* [[http://bitbucket.org/cedricbonhomme/stegano/ | Home page]]; | * [[https://stegano.readthedocs.io | documentation]]; |
* Getting Stéganô: | * [[https://www.openhub.net/p/Stegano | Open Hub page]] of Stéganô; |
* hg clone http://bitbucket.org/cedricbonhomme/stegano //(main)// | |
* hg clone http://hg.cedricbonhomme.org/stegano/ //(backup)// | |
* hg clone http://code.google.com/p/stegano-cb/ //(backup)// | |
* [[http://stegano.readthedocs.org/ | documentation]]; | |
* [[http://www.openhub.net/p/Stegano/ | Open Hub page]] of Stéganô; | |
* [[http://freecode.com/projects/stgan | Freecode page]] of Stéganô. | * [[http://freecode.com/projects/stgan | Freecode page]] of Stéganô. |
| |
<html> | |
<script type="text/javascript" src="http://www.openhub.net/p/485698/widgets/project_factoids_stats.js"></script> | |
</html> | |
| |
Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message, a form of security through obscurity. Consequently, functions provided by Stéganô only hide message, without encryption. Indeed steganography is often used with cryptography. | |
The advantage of steganography, over cryptography alone, is that messages do not attract attention to themselves. If you are interested in cryptography have a look at my project [[http://bitbucket.org/cedricbonhomme/pysecret/|pySecret]]. | |
| |
===== Requirements ===== | ===== Installation ===== |
* [[http://www.python.org/|Python]] (>= 3.2); | |
* [[https://pypi.python.org/pypi/Pillow|Python Imaging Library (fork)]] (Pillow). | <code python> |
| $ poetry install Stegano |
| </code> |
| |
===== Methods of hiding ===== | ===== Methods of hiding ===== |
For the moment, Stéganô implements these methods of hiding: | |
| Stéganô implements these methods of hiding: |
* using the red portion of a pixel to hide ASCII messages; | * using the red portion of a pixel to hide ASCII messages; |
* using the [[http://en.wikipedia.org/wiki/Least_significant_bit|Least Significant Bit]] (LSB) technique; | * using the [[http://en.wikipedia.org/wiki/Least_significant_bit|Least Significant Bit]] (LSB) technique; |
| |
Moreover some methods of [[http://en.wikipedia.org/wiki/Steganalysis|steganalysis]] are provided: | Moreover some methods of [[http://en.wikipedia.org/wiki/Steganalysis|steganalysis]] are provided: |
| |
* steganalysis of LSB encoding in color images; | * steganalysis of LSB encoding in color images; |
* statistical steganalysis. | * statistical steganalysis. |
| |
| |
====== Tutorial ====== | |
| |
| |
==== Steganalysis ==== | |
<code bash> | |
$ ./steganalysis-parity.py -i ./pictures./Lenna_enc.png -o ./pictures/Lenna_enc_st.png | |
</code> | |
| |
| |
===== Examples ===== | |
==== Reveal a text message ==== | |
{{:projects:lena.png|}} | |
<code bash> | |
$ wget http://wiki.cedricbonhomme.org/_media/projects:lena.png | |
$ ./slsb.py --reveal -i ../projects\:lena.png | |
</code> | |
| |
| |
Stéganô is under [[http://www.gnu.org/licenses/gpl-3.0.txt|GPL v3]] license. | Stéganô is under [[http://www.gnu.org/licenses/gpl-3.0.txt|GPL v3]] license. |
| |
| |
====== Donation ====== | |
{{:bc_nbg_64px.png | Bitcoin}} | |
| |
If you wish and if you like Stéganô, you can donate via bitcoin. | |
My bitcoin address: 1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ | |
| |
| |
{{tag>projects cs_lang:python steganography Stéganô}} | {{tag>projects cs_lang:python steganography Stéganô}} |