Date: 16/11/2016
Name: Saima/Leili 
Version 1 

Encryption of QR Code based on ECA:

Barcode technology is an emerging technology including coding, printing, data acquisition and processing. 
Two-dimensional code as a kind of effective mode of carrying and transmission information has certain security function. 
The project is about the simulation of the encryption of the QR Code codes. The idea is to implement cryptographic algorithm to hide the information contained in an image to transmit it securely over the network.

We have used a DES (Data Encryption Standard) algorithm for encryption. The DES encryption algorithm is used to encrypt the pepper-and-salt region of the QR code image. 
Then, the unencrypted dates of the white region around the QR are combined with encrypted data of the pepper-and-salt region in the middle of the QR.  
The algorithm requires a key to be selected by the formula N*N/8 so we have a key value as 128 for 32x32 dimension QR.