Last active
March 16, 2023 11:00
-
-
Save suttree/8ccff8943cf309e4fd76b864d4a7dcf6 to your computer and use it in GitHub Desktop.
Smart Photos - steganograpy, identity, and pfps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| from stegano import lsb | |
| # To store a message | |
| secret = lsb.hide("./uodh.jpg", "http://tinyurl.com/5j4nng") | |
| secret.save("./uodh.png") | |
| # To read a message | |
| clear_message = lsb.reveal("./uodh.png") | |
| print(clear_message) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to use stegano.