mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-27 19:06:12 +02:00
chg [release]: Updated changelog and documentation.
This commit is contained in:
parent
2e4f1629fd
commit
18d1176ae8
5 changed files with 14 additions and 7 deletions
|
@ -1,6 +1,13 @@
|
|||
## Release History
|
||||
|
||||
|
||||
### 0.11.0 (2022-11-20)
|
||||
|
||||
* Reduced memory footprint and processing speed,
|
||||
the modules ``lsb`` and ``lsbset`` have been merged
|
||||
([PR #34](https://github.com/cedricbonhomme/Stegano/pull/34)).
|
||||
|
||||
|
||||
### 0.10.2 (2022-01-13)
|
||||
|
||||
* Stegano now uses Pillow 9.0.0 (CVE-2022-22815).
|
||||
|
|
|
@ -47,9 +47,9 @@ author = "Cédric Bonhomme <cedric@cedricbonhomme.org>"
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = "0.9"
|
||||
version = "0.11"
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = "0.9.4"
|
||||
release = "0.11.0"
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
@ -9,7 +9,7 @@ LSB method
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
Python 3.10.0 (default, Oct 17 2021, 09:02:57) [GCC 11.2.0] on linux
|
||||
Python 3.11.0 (main, Oct 31 2022, 15:15:22) [GCC 12.2.0] on linux
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> from stegano import lsb
|
||||
>>> secret = lsb.hide("./tests/sample-files/Lenna.png", "Hello world!")
|
||||
|
@ -26,7 +26,7 @@ Sets are used in order to select the pixels where the message will be hidden.
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
Python 3.10.0 (default, Oct 17 2021, 09:02:57) [GCC 11.2.0] on linux
|
||||
Python 3.11.0 (main, Oct 31 2022, 15:15:22) [GCC 12.2.0] on linux
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> from stegano import lsb
|
||||
>>> from stegano.lsb import generators
|
||||
|
@ -112,7 +112,7 @@ For JPEG and TIFF images.
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
Python 3.10.0 (default, Oct 17 2021, 09:02:57) [GCC 11.2.0] on linux
|
||||
Python 3.11.0 (main, Oct 31 2022, 15:15:22) [GCC 12.2.0] on linux
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> from stegano import exifHeader
|
||||
>>> secret = exifHeader.hide("./tests/sample-files/20160505T130442.jpg",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "stegano"
|
||||
version = "0.10.2"
|
||||
version = "0.11.0"
|
||||
description = "A pure Python Steganography module."
|
||||
authors = [
|
||||
"Cédric Bonhomme <cedric@cedricbonhomme.org>"
|
||||
|
|
|
@ -209,7 +209,7 @@ class Revealer:
|
|||
raise IndexError("Impossible to detect message.")
|
||||
|
||||
if len(self._bitab) - len(str(self._limit)) - 1 == self._limit:
|
||||
self.secret_message = "".join(self._bitab)[len(str(self._limit)) + 1:]
|
||||
self.secret_message = "".join(self._bitab)[len(str(self._limit)) + 1 :]
|
||||
self.encoded_image.close()
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue