RE: BitCrypt - Visually Encrypt Files Into BitMap Structures 08-17-2012, 04:21 PM
#11
Good fun project. Looking forward to see more from you.
![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Redcat Revolution!
| BitCrypt - Visually Encrypt Files Into BitMap Structures filter_list | |
![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Quote:What about trying to make the data transform algorithm more complex, to make the images more visually appealing/interesting, or even better

Quote:How does it work now? Is it simply filling it row after row? What about going in a "square" spiral, starting at the center? What about going zig-zag? Or diagonal?
Quote:For example, first store one third of the data in red channel, then green, then blue. Or take 8 pixels (8*3 = 24 bytes) and 24 bytes of input data and then take one bit from the first byte of the input data and store the bit in the first pixel. Then take second bit from the first byte of input data and store it in the second pixel and so on. Simply, don't put the whole input byte into a whole byte of one channel, but scatter the bits of the input byte among multiple pixels.
Quote:An idea for actual encrypting - use some original arbitrary picture as a key - only store difference (for example, or XOR) from this picture, so it will be required for decoding as well. The picture will basically become a "password".
Quote:Instead of one large picture, generate a series of 8-bit bitmaps and then save them as an animated GIF. Since GIF already uses some compression, it might help to further compress the data. You can use it in combination with the above. You can generate a palette to make the images visually interesting or give user ability to generate a palette, for example using some color gradient.
Quote:For each byte though wouldn't that be a large output? I'd need to test with a small file at first at least until I get some kind of compression.
Quote:Hmmm... I knew you had a creative mind. This is a cool idea. I like it.
Quote:Using a combination of real compression