mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-13 17:38:30 +02:00
56 lines
No EOL
1.1 KiB
ReStructuredText
56 lines
No EOL
1.1 KiB
ReStructuredText
.. -*-restructuredtext-*-
|
|
|
|
=======
|
|
Stéganô
|
|
=======
|
|
|
|
.. Use headers in this order #=~-_
|
|
|
|
:toc: yes
|
|
:symrefs: yes
|
|
:sortrefs: yes
|
|
:compact: yes
|
|
:subcompact: no
|
|
:rfcedstyle: no
|
|
:comments: no
|
|
:inline: yes
|
|
:private: yes
|
|
|
|
:author: Cédric Bonhomme
|
|
:contact: http://cedricbonhomme.org/
|
|
|
|
|
|
Installation
|
|
------------
|
|
Refers to the INSTALL file.
|
|
|
|
|
|
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:
|
|
|
|
.. code-block:: python
|
|
:linenos:
|
|
|
|
from stegano import slsb
|
|
|
|
secret = slsb.hide("./pictures/Lenna.png", "Bonjour tout le monde")
|
|
|
|
secret.save("./Lenna-secret.png")
|
|
|
|
|
|
Use Stéganô as a program
|
|
------------------------
|
|
In addition you can use Stéganô as a program thanks to the scripts provided in the bin directory.
|
|
|
|
Example:
|
|
|
|
/stegano/bin$ chmod u+x *
|
|
|
|
/stegano/bin$ ./slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "MessageBo"
|
|
|
|
|
|
Turorial
|
|
--------
|
|
You will find a complete tutorial at this address:
|
|
http://wiki.cedricbonhomme.org/projects:stegano |