Visual Cryptography

Generation of two-out-of-two Visual Cryptography Scheme shares.

You are now following this Submission

This program generates a two-out-of-two Visual Cryptography Scheme shares. The input image for this program should be a binary image. The shares and the overlapping result of the shares are written as output. The Shares (1 & 2) can be printed in separate transparent sheets and overlapping them reveals the secret image.

Cite As

Athi (2026). Visual Cryptography (https://se.mathworks.com/matlabcentral/fileexchange/24981-visual-cryptography), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Author Info Updated

1.1.0.0

The first two columns of the share were always "0" in the previous release. The file "VisCrypt.m" has been updated to fix this issue.

1.0.0.0