Skip to content

Commit be0140a

Browse files
authored
Create STEGANOGRAPHY .py
1 parent 99c760b commit be0140a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

STEGANOGRAPHY .py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from PIL import Image
2+
import stepic
3+
4+
# encode masseg in image
5+
image1=Image.open("new2.png")
6+
encod1=stepic.encode(image1,b"hello irfan khan")
7+
encod1.save("new2.png")
8+
9+
# decode secret masseg
10+
image2=stepic.decode(image1)
11+
print(image2)

0 commit comments

Comments
 (0)