steganographer package¶
Submodules¶
steganographer.steganographer module¶
Module contents¶
Given an image and a message or file steganographer will hide the message or file in the bits of the image.
-
class
steganographer.Header(data_len=0, bits_used=1, file_name='')[source]¶ Bases:
objectThe header that is stored at the beginning of steganogrified images.
-
header_as_bytes¶ Converts the header into a bytes object.
-
header_length¶ Returns the length of the header data.
-
-
class
steganographer.Steganographer[source]¶ Bases:
objectTakes care of hiding and revealing messages and files in an image.
-
steganographer_hide(clean_image_file, text, dirty_image_file='')[source]¶ Hides text inside clean_image_file and outputs dirty_image_file.
Takes in a clean image file name, a dirty image file name and text that will be hidden. Hides the text in clean_image_file and outputs it to dirty_image_file.
-