Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 574 Bytes

File metadata and controls

12 lines (11 loc) · 574 Bytes

xor_secret_sharing_visualization

A simple little demo to illustrate XOR secret sharing in a visual way

Instructions

  1. Download the files.
  2. Open index.html in your web browser.
  3. Click and drag the shares around. When all 3 overlap, the original image is visible.
  4. Hold shift while dragging for smooth movement.
  5. Type 'w' to see how an all white mask interacts with the secret.
  6. Type 'b' to see how an all black mask interacts with the secret.
  7. Type 'c' to see how a "checkerboard" type mask interacts with the secret.
  8. Type 'r' to generate a random mask.