chg: [style] Reformated with black.

This commit is contained in:
Cédric Bonhomme 2021-11-24 09:16:05 +01:00
parent 891051f77b
commit a1213a9163
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
13 changed files with 275 additions and 184 deletions

View file

@ -30,10 +30,13 @@ from stegano import tools
def hide(
input_image_file, img_enc, secret_message=None, secret_file=None, img_format=None,
input_image_file,
img_enc,
secret_message=None,
secret_file=None,
img_format=None,
):
"""Hide a message (string) in an image.
"""
"""Hide a message (string) in an image."""
from zlib import compress
from base64 import b64encode
@ -64,8 +67,7 @@ def hide(
def reveal(input_image_file):
"""Find a message in an image.
"""
"""Find a message in an image."""
from base64 import b64decode
from zlib import decompress