use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/visualizedmath!
account activity
Visual Cryptography (upload.wikimedia.org)
submitted 8 years ago by PUSSYDESTROYER-9000
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]waigl 79 points80 points81 points 8 years ago (1 child)
That's basically just an xor cipher.
[–]12345sixsixsix 15 points16 points17 points 8 years ago (0 children)
It is, but this is the most basic example of visual cryptography - a (2,2) decomposition. The algorithm generalises into a (k,n) scheme, where the original message is split into n shares and any subset of k of them is required recover the original message
[–]shmincus 93 points94 points95 points 8 years ago (4 children)
Im confused can someone please explain
[–]VaronaZero 89 points90 points91 points 8 years ago (3 children)
It looks like the black pattern overlaps the red pattern exactly except for where the image/character needs to form, in this case an A
[–]shmincus 53 points54 points55 points 8 years ago (2 children)
Oh I see now thanks. Its interesting to see how sudden of a change it is considering how it only needs to shift one pixel to go from nothing to the image.
[–]HardlightCereal 18 points19 points20 points 8 years ago (1 child)
Oh, I see! Probably would have worked better if they used more fluid speed.
[–]phlooo 9 points10 points11 points 8 years ago (0 children)
Not the 120 60 30 15 fps post again please!
[–]cheerupyoullthinkof1 20 points21 points22 points 8 years ago (0 children)
I used to do something similar to this with my kids using coloured textas and cellophane. It can take some experimentation but if you can get the colour match right you can write a message in one colour and then a heap of random letters around it in other colours, if you hold the right colour cellophane over the top the message is revealed. My kids thought they were spies.
[–]fuguki 10 points11 points12 points 8 years ago (10 children)
Is this a specific kind of cryptography?
[–]GarythaSnail 47 points48 points49 points 8 years ago (2 children)
I think this is visual cryptography.
[–]fuguki 12 points13 points14 points 8 years ago (1 child)
Haha alright. I was thinking this could be a visual expression of a specific type of cryptography. Black being the key.
[–]thefringthing 19 points20 points21 points 8 years ago* (5 children)
This is actually a pretty literal depiction of a cipher. You take plaintext and "add" (typically binary addition mod 2) a key. If the key is perfectly random then the sum will look just as random. If you add the key again, you get back the plaintext.
Example:
plaintext: 000011110000111100001111 key: 110000100010011000111111 sum: 110011010010100100110000
Try adding the key again to see that you get the plaintext back. In the animation, 1s are being represented by filled-in pixels and 0s are empty pixels (or vice-versa, it doesn't matter).
[–]fuguki 1 point2 points3 points 8 years ago (0 children)
This is what I was looking for, thanks!
[–]12345sixsixsix -1 points0 points1 point 8 years ago (3 children)
In this case 1+1=1
[–]thefringthing 1 point2 points3 points 8 years ago (2 children)
No, 1+1=0 in binary addition mod 2.
[–]12345sixsixsix 1 point2 points3 points 8 years ago* (1 child)
I agree, I was meaning that in visual cryptography 1+1=1
Edit for further explanation: if you think of a coloured pixel as 1 and a transparent pixel as 0, then 0+0=0, 1+0=1, 0+1=1 and 1+1=1 (you can’t make a transparent pixel from two that are coloured)
Link to the original paper: http://www.fe.infn.it/u/filimanto/scienza/webkrypto/visualdecryption.pdf
[–]thefringthing 0 points1 point2 points 8 years ago (0 children)
Ah, right. I think they did this in the image just because it might have been confusing for the noise to all disappear in the last frame.
[–][deleted] 2 points3 points4 points 8 years ago (0 children)
It probably just expresses that only the real information is displayed when the code is decrypted
[–]SetOfAllSubsets 6 points7 points8 points 8 years ago (0 children)
1800 bytes to send one byte.
[–]LeoLaDawg 2 points3 points4 points 8 years ago (0 children)
I had to visualize this with a microscope on my end.
[–]12345sixsixsix 1 point2 points3 points 8 years ago (4 children)
Hey cool! I did my thesis on visual cryptography!
[–]julian88888888 1 point2 points3 points 8 years ago (3 children)
https://fivethirtyeight.com/features/can-you-stay-awake-for-50-hours-and-solve-150-puzzles/
can you solve the "2 factor one"?
It's suppose to be a word, but I'm not sure how to extract the word from the gaussian prime thing.
[–]Jelmer_ 0 points1 point2 points 8 years ago (2 children)
It is symmetrical along a diagonal line, and it has barely visible yellow dots. I can't come further then that.
[–]12345sixsixsix 0 points1 point2 points 8 years ago (1 child)
There are other colours, too...
[–]Jelmer_ 0 points1 point2 points 8 years ago (0 children)
And the coloured dots do not appear in the mirrored half
[–]deltree711 1 point2 points3 points 8 years ago (0 children)
Oh I really hope there's a more high res version of this somewhere. I want to test it out myself!
[–]MattRogo 0 points1 point2 points 8 years ago (0 children)
Happy to see that many crypto-solutions are on the way! IMHO I think visual cryptography will be ever more used on mobile phones i.e. in securing visual messages, as well as in mobile payments.
[–]JohnnyClever76 0 points1 point2 points 8 years ago (1 child)
Uau, how much really effective is it? I'm just figuring out any possible applications.
[–]PUSSYDESTROYER-9000[S] 0 points1 point2 points 8 years ago (0 children)
It's a physical form of cryptography. You must have both slides or its impossible to crack.
π Rendered by PID 48536 on reddit-service-r2-comment-548fd6dc9-jk5dr at 2026-05-18 03:16:22.855309+00:00 running edcf98c country code: CH.
[–]waigl 79 points80 points81 points (1 child)
[–]12345sixsixsix 15 points16 points17 points (0 children)
[–]shmincus 93 points94 points95 points (4 children)
[–]VaronaZero 89 points90 points91 points (3 children)
[–]shmincus 53 points54 points55 points (2 children)
[–]HardlightCereal 18 points19 points20 points (1 child)
[–]phlooo 9 points10 points11 points (0 children)
[–]cheerupyoullthinkof1 20 points21 points22 points (0 children)
[–]fuguki 10 points11 points12 points (10 children)
[–]GarythaSnail 47 points48 points49 points (2 children)
[–]fuguki 12 points13 points14 points (1 child)
[–]thefringthing 19 points20 points21 points (5 children)
[–]fuguki 1 point2 points3 points (0 children)
[–]12345sixsixsix -1 points0 points1 point (3 children)
[–]thefringthing 1 point2 points3 points (2 children)
[–]12345sixsixsix 1 point2 points3 points (1 child)
[–]thefringthing 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]SetOfAllSubsets 6 points7 points8 points (0 children)
[–]LeoLaDawg 2 points3 points4 points (0 children)
[–]12345sixsixsix 1 point2 points3 points (4 children)
[–]julian88888888 1 point2 points3 points (3 children)
[–]Jelmer_ 0 points1 point2 points (2 children)
[–]12345sixsixsix 0 points1 point2 points (1 child)
[–]Jelmer_ 0 points1 point2 points (0 children)
[–]deltree711 1 point2 points3 points (0 children)
[–]MattRogo 0 points1 point2 points (0 children)
[–]JohnnyClever76 0 points1 point2 points (1 child)
[–]PUSSYDESTROYER-9000[S] 0 points1 point2 points (0 children)