Visual Cryptography: Secret Sharing Without A Computer: Ricardo Martin GWU Cryptography Group September 2005
Visual Cryptography: Secret Sharing Without A Computer: Ricardo Martin GWU Cryptography Group September 2005
Ricardo Martin
GWU Cryptography Group
September 2005
1
Secret Sharing
• (2,2)-Secret Sharing: Any share by itself
does not provide any information, but
together they reveal the secret.
• An example:
One-time pad: the secret binary string
k = k1 k2k3... kn can be shared as
{x = x1x2 ...xn ; y = y1y2 ...yn }, where xi is
random and yi = ki XOR xi
2
Visual Secret Sharing
• Shares are images printed on transparencies.
The secret is reconstructed by the eye not a
computer.
• Decryption by superimposing the proper
transparencies
– bits of the shares are combined as xi OR yi.
3
An example
• To share one secret bit we need at least 2 bits.
secret S1 = 1 1 1 1
• The stacked shares must be “darker” if the
secret bit isS2“1”
= than if 1it is1 “0”. 1 1
{0} → (s
S1i,sOR
j) εR S2
{{00,00},{00,01},{00,10},
= 1 1 {01,101},1 {10,10}}1 1
{1} → (si,sj) εR {{01,10}, {11,00}, {00,11}}
we can recover
S1 the
= secret:
1 1 1 1
{0} → s1 OR s2 = 00, 01 or 10, and {0} → s1 OR s2 = 11
1 S2 = 1 1 1 1
S1 OR S2 = 1 1 1 1 1 1 1 1
S2 = 1 1 1 1
S1 OR S2 = 1 1 1 1 1 1
S1 = 1 1 1 1
1 S2 = 1 1 1 1
S1 OR S2 = 1 1 1 1 1 1 1 1
7
Another 2-of-2 example (m=3)
Security: Any subset of less than k shares does not provide any
information about the secret x.
• All shares code “0” and “1” with the same number of dark subpixels in
average.
9
Stefan’s construct
One share can decrypt two images...
+
+ =
+ =
12
A (4,4) Visual Sharing Scheme
14
Example 1: Lena B&W
Original
Shares
Superposition of Shares 1
and 2, perfectly aligned
15
Extensions: Beyond (K,M)
General Share Structures [Ateniense et.el. 1996]:
• Define arbitrary sets Qual and Forb as
subsets of partitipants.
– Any set in Qual can recover the secret by
stacking their transparencies
– Any set in Forb has no information on the
shared image.
• They show constructions satisfying these
requirements, with mild restrictions on the
sets.
16
Extended VSS – Grey Scale
• Naor & Shamir sugested using partially
filled circles to represent grey values.
• The actual implementation (vck,
transparencies) is less than
overwhelming.
17
Example 2: Lena Grey Scale
18
Another Grey Scale VSS system
• Use more subpixels to represent grey levels
(Nakajima & Yamaguchi).
• Use g sets of sharing matrices (one for each
grey levels, g ≥2)
19
Extended VSS- Multiple Images
[Nakajima and Yamaguchi, Stoleru] Adding more
redundancy, shares can be a pre-specified image,
instead of random noice.