from piencrypt import pie
r = pie.PiEncrypt('pic.png')
r.get_data()
r.hide_data("Hello my name is Sid")
read = r.read_data()
r.revert()
print(read)
r = pie.PiEncrypt('pic.png')
r.get_data()
pic.jpg should be replaced by your picture name present in the root directory
r.hide_data("Hello my name is Sid")
Read the hidden data from the picture
read = r.read_data()
print(read)
r.revert()