mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
Clean comments.
This commit is contained in:
parent
518729cd31
commit
f922905d10
3 changed files with 6 additions and 14 deletions
|
@ -29,8 +29,7 @@ from PIL import Image
|
|||
import piexif
|
||||
|
||||
def hide(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
|
||||
|
@ -62,8 +61,7 @@ def hide(input_image_file, img_enc, secret_message = None, secret_file = None, i
|
|||
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue