-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSteganography.py
36 lines (28 loc) · 1.07 KB
/
Steganography.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from classes.SteganographyHandler import SteganographyHandler
import argparse
parser = argparse.ArgumentParser(prog="Steganography",
description="Hide secret messages in a picture.")
parser.add_argument("-e",
"--encode",
help="Encoding mode.",
action='store_true')
parser.add_argument("-d",
"--decode",
help="Decoding mode.",
action='store_true')
parser.add_argument("-i",
"--input",
help="The image path you want to use to encode or decode.",
nargs="?")
parser.add_argument("-s",
"--secret",
help="The secret message you want to hide.",
nargs="?")
parser.add_argument("-o",
"--output",
help="The new image with the secret.",
nargs="?")
args = parser.parse_args()
stegHandler = SteganographyHandler()
stegHandler.argumentParser(args)
stegHandler.run()