View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Visual Cryptography

4.6 | 10 ratings Rate this file 50 Downloads (last 30 days) File Size: 24.8 KB File ID: #24981 Version: 1.2
image thumbnail

Visual Cryptography


Athi (view profile)


10 Aug 2009 (Updated )

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

| Watch this File

File Information

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (18)
02 Jan 2017 Sandhya stanley

sir how do i do for multiple share

Comment only
04 Nov 2016 EL HAMDAOUI Atman

01 Mar 2016 manal rezz

26 Nov 2015 Nikesh Tanwer

05 Aug 2015 ashwathy dev

Sir What is the difference in the effect of 4 shares and 6 shares.

Comment only
05 Mar 2014 ANUSREE

sir how to apply vcs to color face images.. relpy me fast sir

Comment only
05 Mar 2014 ANUSREE

sir how to apply vcs to color face images.. rely me fast sir

20 Oct 2013 draj

draj (view profile)

19 Apr 2013 dipjit

dipjit (view profile)

please reply me fast. Sir...

19 Apr 2013 dipjit

dipjit (view profile)

what is the meaning of the code portion"
and is the pixShare is a variable which is userdefined or it is a function from matlab library.

Comment only
17 Sep 2012 Huynh Tu

02 May 2012 STEVEN

STEVEN (view profile)

24 Apr 2012 ambika poojary

I want code for 2 out 3 sheme sharing visual cryptography,can you explain the code u used in 2outof 2 scheme, the line is share1((a),(2*b-1):(2*b))=pixShare(1,1:2); pls?

Comment only
05 Mar 2012 Muhammad Ghani

I have the same question as how to generate the same shares for colour images.

Comment only
26 Nov 2011 sander

sander (view profile)

sir how to generate the same shares for colour images. shares of red green and blue. den combining them to get colour visual cryptography

Comment only
17 Oct 2010 Gopi Subramanian

Why pixel expansion 2 is used?. Comments not enough.
Open source is way the technology free to learn, not just code.
- Freedom Software

Code without proper comments is a Bread without jam

Comment only
21 Aug 2010 priya anthony

Hi Athi
It is quite interesting could u tell me how to do it for 3 out of 3 scheme

12 Aug 2009 Christopher

Quite Interesting. Its working for my own images.

11 Aug 2009 1.1

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.

07 Jun 2011 1.2

Author Info Updated

Contact us