Updated README.

This commit is contained in:
Cédric Bonhomme 2016-05-18 09:05:18 +02:00
parent a54a8774bd
commit ac66a9b471
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -14,9 +14,19 @@ Installation
$ sudo pip install Stegano $ 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 <https://stegano.readthedocs.org>`_ is available.
There are also some examples in the folder `examples <examples>`_.
Use Stéganô as a library in your Python program 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 If you want to use Stéganô in your Python program you just have to import the
appropriate steganography technique. For example: appropriate steganography technique. For example:
@ -29,34 +39,19 @@ appropriate steganography technique. For example:
Use Stéganô as a program Use Stéganô as a program
------------------------ ''''''''''''''''''''''''
In addition you can use Stéganô as a program.
Example:
.. code:: bash .. code:: bash
$ slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "Secret Message" $ slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "Secret Message"
Another example (hide the message with Sieve of Eratosthenes): Hide the message with Sieve of Eratosthenes:
.. code:: bash .. code:: bash
$ slsb-set --hide -i ../examples/pictures/Lenna.png -o Lena2.png --generator eratosthenes -m 'Secret Message' $ slsb-set --hide -i ../examples/pictures/Lenna.png -o Lena2.png --generator eratosthenes -m 'Secret Message'
Examples
--------
There are some examples in the folder *examples*.
.. code:: bash
$ git clone https://github.com/cedricbonhomme/Stegano.git
$ cd stegano/examples
Running the tests Running the tests
----------------- -----------------
@ -65,12 +60,6 @@ Running the tests
$ python -m unittest discover -v $ python -m unittest discover -v
Turorial
--------
A `tutorial <https://stegano.readthedocs.org>`_ is available.
Contact Contact
------- -------