We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 187027a commit e3ed8e0Copy full SHA for e3ed8e0
1 file changed
Img-Steganograpy/main.py
@@ -0,0 +1,11 @@
1
+from stegano import lsbset
2
+from stegano.lsbset import generators
3
+
4
+# Hide the message in the image
5
+flag="This is sample text msg!"
6
+lets=lsbset.hide("./test.png",flag,generators.eratosthenes())
7
+lets.save("steg.png")
8
9
+# Show the message from the image
10
+f=open("steg.png","rb")
11
+lsbset.reveal(f,generators.eratosthenes())
0 commit comments