mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 19:26:14 +02:00
Moved sample files and updated documentation.
This commit is contained in:
parent
872a5546fc
commit
e4f9a08cd7
16 changed files with 85 additions and 111 deletions
10
README.rst
10
README.rst
|
@ -23,8 +23,6 @@ Usage
|
|||
|
||||
A `tutorial <https://stegano.readthedocs.io>`_ is available.
|
||||
|
||||
There are also some examples in the folder
|
||||
`examples <https://github.com/cedricbonhomme/Stegano/tree/master/examples>`_.
|
||||
|
||||
Use Stéganô as a library in your Python program
|
||||
'''''''''''''''''''''''''''''''''''''''''''''''
|
||||
|
@ -34,8 +32,8 @@ appropriate steganography technique. For example:
|
|||
|
||||
.. code:: python
|
||||
|
||||
>>> from stegano import slsb
|
||||
>>> secret = slsb.hide("./pictures/Lenna.png", "Hello World")
|
||||
>>> from stegano import lsb
|
||||
>>> secret = slsb.hide("./tests/sample-files/Lenna.png", "Hello World")
|
||||
>>> secret.save("./Lenna-secret.png")
|
||||
|
||||
|
||||
|
@ -44,13 +42,13 @@ Use Stéganô as a program
|
|||
|
||||
.. code:: bash
|
||||
|
||||
$ slsb --hide -i ../examples/pictures/Lenna.png -o Lena1.png -m "Secret Message"
|
||||
$ lsb --hide -i ./tests/sample-files/Lenna.png -o Lena1.png -m "Secret Message"
|
||||
|
||||
Hide the message with Sieve of Eratosthenes:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ slsb-set --hide -i ../examples/pictures/Lenna.png -o Lena2.png --generator eratosthenes -m 'Secret Message'
|
||||
$ lsb-set --hide -i ./tests/sample-files/Lenna.png -o Lena2.png --generator eratosthenes -m 'Secret Message'
|
||||
|
||||
|
||||
Running the tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue