Generalized norm visual cryptography scheme for secure financial data protection
Abstract
Within the context of banking operations in the "either or survivor" mode, a novel (n, n) visual cryptography scheme has been proposed in this paper.In this scheme, n represents the total number of generated shares.Among these, n-1 shares are distributed to the account holders, while one share is retained by the bank authority.Using this approach, the secret image employed for user authentication can be revealed when any one account holder combines (stacks) their share with the bank authority's share.The share generation process follows this mechanism by considering two consecutive pixels as a single input unit during construction.Comparing this method to other approaches, it generates shares with less overhead space and might offer higher security.Like other visual cryptography methods, it is very simple to use.This paper presents a generalized approach to norm-based visual cryptography, designed to enhance security and usability for financial applications.The proposed method extends traditional visual cryptography techniques by incorporating multiple norms, advanced encryption, and error correction mechanisms.This generalization ensures the confidentiality, integrity, and authenticity of sensitive financial information.
Full Text
Tables and figures are in the full-text PDF.
Introduction
Through the use of complicated mathematics, visual cryptography is a cryptographic technology that makes it possible to encrypt visual data (such text or images) and decrypt it visually. Moni Naor and Adi Shamir introduced it in 1994 [9] . Visual cryptography works on the basis of dividing an image into a number of shares, each of which can be divided into a sufficient number for the original image to be visually reconstructed. However, nothing about the original image is revealed in any one share. When the shares are properly superimposed, the original image becomes visible after the visual decoding process is performed. This scheme enables the recovery of a hidden secret image without requiring any cryptographic computations. It is both highly secure and simple to implement. The basic framework includes a printed sheet containing the ciphertext (which may be mailed or faxed) and a printed transparency that serves as the confidential key. The original content is revealed by overlaying the transparency onto the ciphertext page, even though each component individually appears random and reveals no information. The approach resembles a one-time pad, as each ciphertext page is decrypted using a unique transparency. Owing to its simplicity, the method can be used by anyone without prior knowledge of cryptography or the need for computational operations. With the novel form of visual cryptography, no cryptographic computation is required throughout the decryption process [11] . This method requires that text or a picture be entered into the system as a digital image. The system will then produce 'n' (3 ≤ n) distinct images, or shares, that resemble random noise. The user must stack 'k' shares, where 3 ≤ k ≤ n among 'n' shares in order to display the hidden image. Visual cryptography makes it possible to encrypt visual data such that it can only be visually decrypted without the need for computer support. While working well for simple pictures, traditional visual cryptography techniques have drawbacks when used with intricate financial data. In order to overcome these drawbacks and make norm-based visual cryptography techniques appropriate for financial data security, this study generalizes these techniques. In 1994, during the "EUROCRYPT" conference, Moni Naor, M. and Adi, S. [9] made the initial discovery and advancement of Visual Cryptography (VC). This unique kind of cryptography approach enables the encryption of visual data using a particular encoding style, which requires a human visual system to decipher. A simple image is divided into 'n' shareable images, which are then sent to the participants. Retrieving the plain image involves stacking the permitted subset of shares and less than shares in the stack give away nothing about the secret [8] . Figure 1 shows a basic Visual Cryptography approach. The structure of the paper unfolds as follows: Section 2 provides some fundamental definitions for visual cryptography. An overview of the associated works is provided in Section 3. The methodology that is suggested is explained in Section 4. Section 5 provides an example of how the suggested technique generates shares. Section 6 presents a performance analysis of the suggested technique. Summaries of the work are included in Section 7.
Preliminaries
Numerous visual cryptography systems have already been created for particular use cases. In the future, several methods could be created to address some of the issues with visual cryptography. Secret sharing schemes are another name for the visual cryptography schemes. There are various kinds of visual cryptography techniques, such as :
Visual Cryptography, a secret image is encrypted into two distinct shares in this basic threshold system, which when they are superimposed, discloses the hidden image. The creation of this type of access structure doesn't require any further data. However, under this system, a picture is split into two halves, and it takes both parts to put the original image back together. Lets say we have an image consisting of a black square on a white background. The goal is to divide this image into shares such that when combined, the original image is revealed. This method is often used for secret sharing, where multiple parties each hold one share and cooperation is required to reveal the secret. In (2, n) Visual Cryptography, with the use of this approach, the secret picture is encrypted into n shares, which may be overlaid to disclose the secret image when any two or more of the shares are superimposed. The user will be asked for 'n', which is the total number of people involved. On the other hand, this scheme ensures that individual shares contain no useful information about the original image, making it secure against adversaries who may gain access to only a single share. Only when two or more parties collaborate can the original image be reconstructed, ensuring privacy and security. The procedure is similar but requires more shares for bigger (2, n) visual cryptography systems. The fundamental idea is still that the original image may be seen in any two shares. Applications for this technique include watermarking, secure picture sharing, and visual authentication systems. In (k, n) Visual Cryptography, the system generates n (n ≥ 2) shares in this kind of visual cryptography scheme, and at least k (2 ≤ k ≤ n) shares are required to regenerate the secret data. In other words with the help of this approach, the secret image is encrypted into n shares, which can be exposed when any group of at least k shares is superimposed. The threshold k and the total number of participants n will be asked of the user. The (k, n) visual cryptography scheme offers a balance between security and flexibility. It allows for a customizable threshold for reconstruction, where the required number of shares can be adjusted based on the desired level of security and usability in different scenarios. Applications of (k, n) visual cryptography include secure multi-party image sharing, access control systems, and cryptographic key management. To retrieve the secret data, each share in the (n, n) visual cryptography scheme must be piled on top of the other. The system generates n (n ≥ 2) shares in this type of scheme. The user will be asked for n, the total number of people involved. Stated otherwise, the secret picture is encrypted into n shares via this approach, and the hidden image will only become visible upon the combination of all n shares. We'll ask the user for the number n of participants. Because it makes sure that no single share has any important knowledge about the secret image, this approach is very helpful in situations where extreme security and privacy are necessary. Unauthorized decryption efforts are impossible since all n shares are required to reassemble the original picture. Secure picture transmission, authentication systems, and cryptographic watermarking are just a few of the domains in which perfect visual cryptography finds use. The count of non-zero elements in a sequence of symbols is known as its weight. In binary form, the Hamming weight specifically refers to the total number of "1" bits present in the binary sequence. "Hamming weight" isn't typically used explicitly in visual cryptography, the concept of the density of information, represented by the number of black pixels in each share, plays a crucial role in ensuring security and privacy. In a (k, n) visual cryptography scheme, where any k shares can be used to reveal the secret image, the Hamming weight of each share becomes significant. By ensuring that each share has an equal number of black pixels (ideally), we can prevent individual shares from revealing any information about the secret image. Only when combined with other shares do the black pixels align to reveal the secret information?
Related works
The most basic form of visual secret sharing assumes that the message is composed of black and white pixels, with each pixel processed independently. Every original pixel is transformed into n altered versions, known as shares, with one share assigned to each transparency. Each share consists of black and white sub-pixels placed closely together so that the human visual system blends their individual contributions into a single perceived pixel. Most visual cryptography schemes are designed to conceal only one secret image. To enhance the hiding capacity and overall efficiency of the scheme, multiple secret images can be encoded within the shares. In 1994, Moni Naor and Adi Shamir [9] presented Visual Cryptography for the first time. In this approach, the secret message or image is partitioned into n distinct shares, each distributed to a different participant. The reconstruction of the original information requires the combination of at least shares out of the total n. Any collection of fewer than k shares (i.e., k -1 or less) is insufficient to recover the secret. For example, consider six thieves who jointly control a bank account but lack mutual trust. They divide the account password in such a way that any group of three or more thieves can retrieve it, while fewer than three cannot access the account. In the (2, n) visual cryptography scheme proposed by Naor and Shamir, the secret image is split into two separate shares, ensuring that an individual share alone provides no information about the original image. However, when the two shares are stacked together, the original image is visually revealed. The method involves the use of matrices, where each share corresponds to a binary matrix. These matrices are carefully designed to ensure that the visual information is concealed in each individual share and revealed only when the shares are combined. The following m × n matrices can solve their algorithm for (2, n) visual cryptography.
The matrices C 0 and C 1 in this instance are used to produce the white and black pixels, respectively. In the year 2000, Tai-Wen Yue and Suchen Chiang [15] suggested a neural network-based method for visual encryption. Using two distinct alternatives for each pixel with an equal chance, a combination of two black-and-white pixels is formed in this technique (Shown in Figure 2). In this method, a neural network is employed to create shares for the visual cryptography scheme. The neural network is trained to produce shares that meet the criteria of visual cryptography, ensuring that individual shares reveal no information about the original image, but when combined, the original image is revealed. By generating combinations of black and white pixels with equal probability for each pixel, this approach aims to enhance the security and randomness of the shares, making it more difficult for adversaries to decipher the original image from individual shares. This neural network-based approach represents a novel way to implement visual cryptography, leveraging machine learning techniques to enhance the performance and robustness of the scheme. In 2008, Jena and Jena [7] developed a method of visual cryptography called (2, 2), in which a single pixel produces two or four pixels in each share. This innovative approach aimed to enhance the efficiency and security of visual cryptography schemes by introducing a method where a single pixel in the original image contributes to the generation of multiple pixels in the shares. The technique likely involves carefully designing algorithms or mathematical transformations that allow a single pixel to generate either two or four pixels in each share. In Figure 3, the method for creating pixels using this technology is shown. This design ensures that the visual information from the original image is effectively distributed across the shares while maintaining the security properties of visual cryptography. By generating multiple pixels from a single pixel, this approach can potentially reduce the size of shares required for encoding the secret image, thereby improving efficiency and reducing storage or transmission overhead. By 2008, Chetana Hegde, Manu S, P Deepa Shenoy, Venugopal K R, and L. M. Patnaik had devised an algorithm for visual cryptography for banking applications [1,5] . An effective method for verifying a customer's identity in corebanking and online banking applications was the algorithm's primary goal. Information is represented by the black pixel (represented by 1) and background by the white pixel (represented by 0). The primary objective of using visual cryptography in this context is to securely encode sensitive information, such as customer authentication data, and distribute it among multiple shares. These shares can then be distributed to different entities or parties involved in the banking transactions. For two shares in the (2, 2) scheme, the initial Boolean matrices for the white pixel, S 0 , and the black pixel, S 1 , are provided below.
= =
On various Constructions of Monochrome Visual Cryptographic Schemes, a (2, n) visual cryptographic scheme, was proposed by Avishek Adhikari and Bimal Roy in 2008 [2] . The term "monochrome" implies that the shares are represented using only one color channel, typically black and white. Each pixel in the shares is either black (representing one part of the secret image) or white (representing another part or background). The construction of the (2, n) visual cryptographic scheme by Adhikari and Roy likely involves carefully designing algorithms or mathematical techniques to divide the secret image into shares while preserving the security properties of visual cryptography. Using two consecutive images captured at a time as the single input, Jayanta Kumar Pal, J. K. Mandal, and Kousik Dasgupta devised a (2, 2) Visual cryptography in 2010 [10] . This approach likely aimed to enhance the efficiency and security of the visual cryptography scheme by processing pairs of consecutive pixels together. In a traditional (2, 2) visual cryptography scheme, the original secret image is split into two separate shares, and each share typically corresponds to a binary image where each pixel is either black (representing one part of the secret image) or white (representing another part or background). Figure 4 shows a method for creating pixels using this technique. There are numerous alternative algorithms accessible for diverse visual cryptography techniques ([6, 17, 4, 12]) , wherever security has been improved. These efforts include not only improving security features but also focusing on making the schemes more userfriendly and practical for real-world applications. It is also possible to determine from the literature that attempts have been made to make visual cryptography more user-friendly. Wei-Qi [16] , for instance, created a plan to ensure that the shares were aligned properly. This visual cryptography is a more practical and widely applicable solution for secure image sharing, authentication, and other cryptographic applications.
In 2010 [11] , A (2, n) visual cryptography technique for banking applications is designed to provide secure access to joint bank accounts, specifically in situations where there are two account holders, and both have equal authority in managing the account. In a (2, n) visual cryptography scheme, the original secret image (representing access credentials or authentication information in this context) is divided into n shares, with each account holder receiving one share. Both shares are necessary to reconstruct the original secret information, ensuring that neither account holder can access the account independently [3] . The (2, n) visual cryptography technique developed for banking applications in 2010 offers a practical and secure solution for managing joint bank accounts, providing equal access to account holders while ensuring the confidentiality and integrity of access credentials. This study presents a novel visual cryptography method that could be helpful in secure banking scenarios without access to computers. One user may participate in the banking process against an account with the previously proposed algorithm by Chetana Hegde et al. [5] , but the proposed approach can also be used for accounts held jointly by several account holders. It provides a versatile approach that can accommodate both single-user and joint-account scenarios while maintaining the confidentiality and integrity of banking information.
The Methodology
The proposed technique treats (n=3) consecutive pixels of the source image as a single input, resulting in eight possible cases for those pixel triplets, each representing a combination of different cases: (i) Black, Black and Black, (ii) Black, Black and White, (iii) Black, White and Black, (iv) Black, White and White, (v) White, Black and Black, (vi) White, Black and White, (vii) White, White and Black, (viii) White, White and White. Similarly the above technique follow the four and five and so on. The technique considers four consecutive pixels as a single input in the source image, resulting in sixteen possible cases for these fourth of Pixels, each representing a combination of different cases: (i) Black, Black, Black and Black, (ii) Black, Black, Black and White, (iii) Black, Black, White and White, (iv) Black, White, White and White, (v) White, Black, White and White, (vi) White, White, Black and White, (vii) White, White, White and Black, (viii) Black, Black,White and White (ix) White, Black, Black and White, (x) White, White, Black and Black, (xi) Black, White, Black and White, (xii) White, Black, White and Black, (xiii) Black, White, White and Black, (xiv) Black, White, Black and Black, (xv) Black, Black, White and Black, (xvi) White, White, White and White. For a (3, n) visual cryptography scheme, where "n" shares are generated, each share contributes to the reconstruction of the secret information. The position of (3, n) visual cryptography for Hamming weight purposes can be considered in the following aspects: 1. The Hamming weight of corresponding pixels across shares should be consistent. In other words, for a given position in each share, the Hamming weight (number of black pixels or non-zero bits) should be the same. 2. While consistency is important, introducing variations in Hamming weights, especially for certain pixel values (e.g. black pixels), can contribute to security. For instance, if the Hamming weight for a black pixel in one share is significantly different from the corresponding pixels in other shares, it may make it more challenging for an attacker to discern the secret information without possessing the requisite shares. 3. The Hamming weight considerations also impact the clarity of the reconstructed secret image. This scheme should ensure that the Hamming weights contribute to a visually clear and accurate reconstruction when the shares are stacked. 4. While introducing variations in Hamming weights can enhance security, it's essential to balance this with practicality.
Excessive complexity may impact the ease of implementation, decoding speed, and the overall user experience. Threshold for reconstruction (integer portion of ).
Output: n shares that, when combined, reconstruct the original image.
Procedure
Step 1: Preprocessing Convert the image to a binary format (if it's not already). Each pixel should either be 0 (black) or 1 (white).
Check the number of pixels in the image. (i) If the number of pixels is odd, handle the last pixel separately by padding or storing it in a separate structure.
Step 2: Group consecutive pixels Divide the image into blocks of consecutive pixels: i) If k = n = 3, each block contains three consecutive pixels (e.g., B, B, W for Black, Black, White). ii) If k = n = 4, each block contains four pixels, and so on. iii) For each block, store the pixel combination.
Step 3: Generate shares Initialize empty shares. Each share will have the same dimensions as the original image.
For each block of consecutive pixels:
1. For each of the 8 possible combinations (in the case of k = n = 3) or 16 combinations (in the case of k = n = 4), map the combination to an appropriate pattern of black and white pixels for the shares.
Example (for k=n=3)
i) If the block is (B, B, B), apply the corresponding black/white distribution across all shares.
ii) Use randomness in distributing black and white pixels across shares, making sure the Hamming weight requirements are met (i.e., for each block in each share, the number of black pixels should be consistent across shares for each corresponding position). Ensure consistency in Hamming weight: For each pixel in the block, ensure that the Hamming weight across all shares is consistent, i.e., the same number of black pixels appears across the shares. Introduce controlled variations (for security): Add some variation in how black and white pixels are distributed across shares, especially for certain pixel values, to increase the security of the reconstruction process. For better understanding, let's look at an example of the suggested algorithm. Take into consideration the image in Figure 6 as the input image. If we read the image in Figure 6 in row major order first we are getting three black pixels, followed by one black and two white, among next three, one white, black and white, after that two white and one black pixels, again two black and one white, followed by one white and two black, among next three black, white and black pixels and lastly three white pixels. The generated shares by the proposed algorithm are given in the Figure 7 Share 1 to 4 respectively. Now, let's apply the suggested method to a real-life image as depicted in Figure 8. We'll generate four shares represented by four transparencies following the figure. Upon stacking any two of these shares with precise alignment, it becomes apparent that the concealed image emerges, albeit with some background noise.
Performance analysis
Evaluating the performance of a cryptographic method is crucial for assessing its effectiveness and reliability. In this section, we present an analysis of the implemented approach. Comparative analysis involves comparing the scheme's performance with existing methods, identifying strengths, weaknesses, and optimization opportunities to enhance its efficiency and security while maintaining usability and robustness. Overall, a comprehensive performance analysis provides valuable insights into the scheme's strengths, weaknesses, and areas for improvement, guiding further research and development efforts in visual cryptography. The paper created by Chetana Hegde [5] , Manu S, P Deepa Shenoy, Venugopal K R, and L M Patnaik was an effort for secure banking applications utilizing visual cryptography, according to the literature review. Let's examine the similarities and differences between the suggested approach and the algorithm created by Chetana Hegde et al. Table 1 shows a comparison of some key characteristics between the suggested algorithm and the algorithm by Chetana Hegde et al. [5] . It is evident that the suggested technique has a lower space overhead because two input pixels are combined and treated as a single pixel for share generation. Additionally, the suggested algorithm is more beneficial than the originally suggested two.
Conclusion
Transferring sensitive data over networks demands a high level of security, and securing shared data is a major challenge. Since the establishment of Visual Security in 1994, numerous forms of visual cryptography have been developed, including halftone, progressive multi-resolution, and segment-based schemes alongside other types of visual cryptographic schemes (2, 2). The present field of study with the most potential is visual cryptography. Many nations are now using this specific encryption technology to transport data discreetly, including financial records, handwritten documents, text pictures, online votes, and more.
The fundamental visual cryptography model that has been shown thus far has numerous potential improvements and additions. We are attempting one such improvement. This work presents a novel (n,n) visual cryptography technique that can be implemented with ease and offers security comparable to that of other existing algorithms. The suggested algorithm's ability to be used to any number of joint account holders is one of its key features. Compared to algorithms that accept a single pixel as the single input, this one may be more space-efficient even though it requires three successive pixels as the one-time input. Also, Perfect secrecy is achieved by the (n,n) block-based Norm Visual Cryptography; single shares disclose zero information because of the uniform distribution of the Hamming weights throughout the n-pixel blocks. To ensure threshold security, each location needs ≥ m black pixels from all n shares for reconstruction. AES pre-encryption of secrets, restricted per-block randomness breaking pattern analysis, and SSIM (Structural Similarity Index Measure) verification ( > 95 percent match), which detects manipulation, are examples of financial safeguards. Size-based assaults cannot withstand any pixel growth. Steganographic concealing inside meaningful images is made possible by halftone sharing. Partial shares (statistical independence), known-plaintext (AES), and side-channel (visual-only decryption) are all resistant to attacks. Perfect for multiparty authentication in e-banking.
References
- Abraham AS, Nair LR, Deepa MS. A novel method for evaluation of visual security of images. In: 2017 International Conference on Networks & Advances in Computational Technologies (NetACT). IEEE; 2017. doi:10.1109/NetACT.2017.8076801.
- Adhikari A, Roy B. On some constructions of monochrome visual cryptographic schemes. In: 2008 1st International Conference on Information Technology. IEEE; 2008. p. 1-6.
- Gravano S. Introduction to Error Control Codes. Oxford (USA): Oxford University Press; 2001.
- Houmansadr A, Ghaemmaghami S. A novel video watermarking method using visual cryptography. In: IEEE International Conference on Engineering of Intelligent Systems; 2006. p. 1-5.
- Hegde C, Manu S, Shenoy PD, Venugopal KR, Patnaik LM. Secure authentication using image processing and visual cryptography for banking applications. In: 2008 16th International Conference on Advanced Computing and Communications. IEEE; 2008. p. 65-72.
- Heidarinejad M, Yazdi AA, Plataniotis KN. Algebraic visual cryptography scheme for color images. In: IEEE International Conference on Acoustics, Speech and Signal Processing; 2008. p. 1761-1764.
- Jena D, Jena SK. A novel visual cryptography scheme. In: 2009 International Conference on Advanced Computer Control. IEEE; 2009. p. 207-211.
- Kumar R. An Intelligent Secret Image Sharing Scheme Using Visual Cryptography. Thanjavur; 2021.
- Naor M, Shamir A. Visual cryptography. In: Advances in Cryptology-EUROCRYPT'94: Workshop on the Theory and Application of Cryptographic Techniques, Perugia, Italy, Proceedings 13. Springer; 1995. p. 1-12.
- Pal JK, Mandal JK, Dasgupta K. A novel visual cryptographic technique through grey level inversion (VCTGLI). In: International Conference on Web and Semantic Technology. Springer; 2010. p. 124-133.
- Pal JK, Mandal JK, Dasgupta K. A (2, n) visual cryptographic technique for banking applications. International Journal of Network Security & Its Applications. 2010;2(4):118-127.
- Park GD, Yoon EJ, Yoo KY. A new copyright protection scheme with visual cryptography. In: Second International Conference on Future Generation Communication and Networking Symposia; 2008. p. 60-63.
- Shankar K, Eswaran P. Sharing a secret image with encapsulated shares in visual cryptography. Procedia Computer Science. 2015;70:462-468. doi:10.1016/j.procs.2015.10.080.
- Shankar K, Eswaran P. RGB-based secure share creation in visual cryptography using optimal elliptic curve cryptography technique. Journal of Circuits, Systems and Computers. 2016;25(11):1650138. doi:10.1142/S0218126616501383.
- Yue TW, Chiang S. A neural network approach for visual cryptography. In: Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks (IJCNN 2000): Neural Computing-New Challenges and Perspectives for the New Millennium. IEEE; 2000. Vol. 5. p. 494-499.
- Yan WQ, Jin D, Kankanhalli MS. Visual cryptography for print and scan applications. In: IEEE International Symposium on Circuits and Systems (ISCAS). Vol. 5. IEEE; 2004. p. 1-4.
- Zhou Z, Arce GR, Di Crescenzo G. Halftone visual cryptography. IEEE Transactions on Image Processing. 2006;15(8):24412453.
How this paper connects to the literature. Drag to explore, click any node to open that paper.
