chg [release]: Updated changelog and documentation.

This commit is contained in:
Cédric Bonhomme 2022-11-20 00:27:14 +01:00
parent 2e4f1629fd
commit 18d1176ae8
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
5 changed files with 14 additions and 7 deletions

View file

@ -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).

View file

@ -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.

View file

@ -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",

View file

@ -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>"

View file

@ -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