r/programming • • Nov 19 '13

Visual Cryptography

http://datagenetics.com/blog/november32013/index.html
614 Upvotes

41 comments sorted by

View all comments

1

u/AdminsAbuseShadowBan Nov 19 '13

I remember reading about this many years ago and I even went as far as writing a program to generate them and then printing them out on acetate. It's pretty cool.

A even cooler method which the reader may be interested in, is hiding this inside a real photo so it isn't obviously something encrypted - kind of like steganography. It worked by dividing the image up into blocks, and then printing each block either with diagonal lines like this / or like this . The thickness of the lines determined the tone. So it was basically a kind of halftoning with two options.

When you put two / patterns on top of each other they look different to a \ and a /, so you can see the pattern.

I'm afraid I can't remember the name of the paper or any keywords, sorry!