Visual Cryptography

version (24.8 KB) by Athi
Generation of two-out-of-two Visual Cryptography Scheme shares.


Updated 7 Jun 2011

View License

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 (2022). Visual Cryptography (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!