Code covered by the BSD License  

Highlights from
Visual Cryptography


4.6 | 7 ratings Rate this file 47 Downloads (last 30 days) File Size: 24.8 KB File ID: #24981
image thumbnail

Visual Cryptography



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 (13)
05 Mar 2014 ANUSREE

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

05 Mar 2014 ANUSREE

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

20 Oct 2013 draj  
19 Apr 2013 dipjit

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.

19 Apr 2013 dipjit

please reply me fast. Sir...

17 Sep 2012 Huynh Tu  
02 May 2012 STEVEN  
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?

05 Mar 2012 Muhammad Ghani

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

26 Nov 2011 sander

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

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

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

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

Author Info Updated

Contact us