The (n, n) Visual Multi-Secrets Sharing Scheme with Abilities of OR and XOR Decryption †
Abstract
1. Introduction
2. Preliminaries
3. Main Results
3.1. Encryption Algorithm
Algorithm 1. (N, N) Visual N Secret Sharing Scheme |
Input: N secret images of size pixels, and a divisor of : p (which must coprime to ). Output: shares of size .
|
3.2. Decryption Algorithm
Algorithm 2. Decryption Algorithm |
Input: shares of size , a divisor of : p. Output: reconstructed images by OR operation and reconstructed images by XOR operation of size .
|
3.3. Experimental Results
3.4. Analysis
4. Conclusions
- An absence of pixel expansion;
- High visual quality in the reconstructed images;
- A flexible adjustability of the parameter ;
- The capability to encrypt multiple secrets at the same time;
- The secret image can be restored by employing either an OR operation or an XOR operation.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Naor, M.; Shamir, A. Visual Cryptography. In Advances in Cryptology—EUROCRYPT′94: Workshop on the Theory and Application of Cryptographic Techniques Perugia, Italy, 9–12 May 1994; Springer: Berlin/Heidelberg, Germany, 1995. [Google Scholar]
- Kafri, O.; Keren, E. Encryption of pictures and shapes by random grids. Opt. Lett. 1987, 12, 377–379. [Google Scholar] [PubMed]
- Lin, K.S.; Lin, C.H.; Chen, T.H. Distortionless visual multi-secret sharing based on random grid. Inf. Sci. 2014, 288, 330–346. [Google Scholar] [CrossRef]
- Chang, J.J.-Y.; Huang, B.-Y.; Juan, J.S.-T. A New Visual Multi-Secrets Sharing Scheme by Random Grids. Cryptography 2018, 2, 24. [Google Scholar] [CrossRef]
- Eisen, P.A.; Stinson, D.R. Threshold visual cryptography schemes with specified whiteness levels of reconstructed pixels. Des. Codes Cryptogr. 2002, 25, 15–61. [Google Scholar] [CrossRef]
- Tuyls, P.; Hollmann, H.D.; Lint, J.V.; Tolhuizen, L.M.G.M. XOR-based visual cryptography schemes. Des. Codes Cryptogr. 2005, 37, 169–186. [Google Scholar]
- Wu, X.; Sun, W. Random grid-based visual secret sharing with abilities of OR and XOR decryptions. J. Vis. Commun. Image Represent. 2013, 24, 48–62. [Google Scholar]
- Lin, Y.-R.; Juan, J.S.-T. RG-Based (k, n)-Threshold Visual Cryptography with Abilities of OR and XOR Decryption. Eng. Proc. 2023, 55, 65. [Google Scholar] [CrossRef]
- Huang, S.-Y.; Lo, A.-H.; Juan, J.S.-T. (n, n) XOR-based Visual Multi-secrets Sharing Scheme with Meaningful Shares. In Proceedings of the 2022 IEEE 5th International Conference on Knowledge Innovation and Invention (ICKII), Hualien, Taiwan; 2022; pp. 69–74. [Google Scholar] [CrossRef]
Notation | Description |
---|---|
0 | A white pixel |
1 | A black pixel |
The i-th secret image | |
The i-th meaningless image | |
The i-th reconstructed image by OR operation | |
The i-th reconstructed image by XOR operation | |
The value of the pixel at position in image S | |
N | The quantity of secret images |
n | The quantity of shares |
p | The quantity of pieces into which an image will be divided |
OR operation | |
XOR operation |
Experiment | Images | Contrasts | ||
---|---|---|---|---|
Theoretical | Experimental | [9] | ||
1 | 0.2407 | 0.2426 | 0.1557 | |
0.9508 | 0.9506 | 0.5532 | ||
2 | 0.1200 | 0.1252 | 0.0590 | |
0.9448 | 0.9548 | 0.3881 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Lo, A.-H.; Juan, J.S.-T. The (n, n) Visual Multi-Secrets Sharing Scheme with Abilities of OR and XOR Decryption. Eng. Proc. 2025, 89, 41. https://doi.org/10.3390/engproc2025089041
Lo A-H, Juan JS-T. The (n, n) Visual Multi-Secrets Sharing Scheme with Abilities of OR and XOR Decryption. Engineering Proceedings. 2025; 89(1):41. https://doi.org/10.3390/engproc2025089041
Chicago/Turabian StyleLo, An-Hui, and Justie Su-Tzu Juan. 2025. "The (n, n) Visual Multi-Secrets Sharing Scheme with Abilities of OR and XOR Decryption" Engineering Proceedings 89, no. 1: 41. https://doi.org/10.3390/engproc2025089041
APA StyleLo, A.-H., & Juan, J. S.-T. (2025). The (n, n) Visual Multi-Secrets Sharing Scheme with Abilities of OR and XOR Decryption. Engineering Proceedings, 89(1), 41. https://doi.org/10.3390/engproc2025089041