

Server, there is a high risk that if it breaks or get hacked, all of our data will be Traditionally if we store a file in only one After successful completion the message appears "Image Successfullyįollowing are some of the areas in which our project can be helpful. Step 5:Īfter process completes, we are greeted with a figure saying "Merged K shares".Īfter sometime, the unencrypted image appears on the right. Entering wrong password generates another noisy Also the password that had been choosen while encrypting the Now the User has to select the number of avaliable shares with him, and click on Now we can proceed to Decryption process. Named as share1.png, share2.png, share3.png, and so on. The current Matlab directory now has n number of shares generated. After the process completes, the user is presented with a "Shares Generated" Now proceed on filling the value of K, N and enter a secure password to encrypt the The KNshare main screenĬlick on ENCRYPT button to open the encryption window.Ĭlick on BROWSE button to open the File selector. Step 1:Įxecute command run knshare in matlab terminal.

Following are the steps to run the GUI :- 1.

It has all the functionalities requiredįor Encryption and Decryption. GUI for the program is made using Matlab 2015a. Now, the image will require at-least k sharesĪlong with the symmetric key in order to decrypt the image to its original form. Shares gives more better and noisy image. Thus, after encrypting the original image with AES first, and then, regenerating the Shares of all the generated shares, the reconstructed image is:Ī symmetric key based encryption (AES encryption) at both the ends of KN SharesĪlgorithm is added to make the image more secure. Required (in this case k = 6), we will get a partial image. We can get the original image only by stacking k or more shares. The experimental result after encryption by the kn encryption algorithm is given below: We experimented K-N sharing algorithm on Lena image.

In this project we take any image which is to be shared secretly. Visual Cryptography using KN secret Sharing
