You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A reddit user commented on some strategies to embed the encrypted images inside a provided input image and produce and image that looks similar but embedded with the encrypted message.
This would make this more pheasable for usage in real world applications for embeddable encryption in images.
The usual way to hide messages in images is to let the user provide a real image to hide the message in.
For each RGB pixel you can take the R, G and B values individually, e.g. say R is 251. The idea is that the difference between 251, 250 or 252 is basically imperceptible in a photo. You can exploit that to hide your message in the bottom 2 (or 1 or 3) bits of each colour value in each pixel. Using 2 bits per colour you get 6 bits per pixel.
The end result is an image that looks visually identical but contains your message hidden in it.
The text was updated successfully, but these errors were encountered:
So this is a great idea, but quite hard to actually implement in practice. I actually had a similar idea of taking in user_input image and then manipulating over it. Although my idea is totally not this secure, I'm no cryptographer anyway lol
I was thinking of calculating the standard deviation after we do key_list[ord(i)] to identify which tuple of pixels is the most similar with it and then we can substitute that with the key. The issue in this method is, how do we get back? how do we know which pixels to decrypt later? Any suggestions?
Also, there's a bunch more stuff to do before we can safely implement this btw (i.e allc should be a list of tuples of 4 integers to get RGBA)
A reddit user commented on some strategies to embed the encrypted images inside a provided input image and produce and image that looks similar but embedded with the encrypted message.
This would make this more pheasable for usage in real world applications for embeddable encryption in images.
Check here for the Reddit link. Here is a quote:
The text was updated successfully, but these errors were encountered: