A privacy-preserving framework for compressed pattern matching over encrypted data using lightweight XOR-based encryption and bit-parallel processing

Authors

  • Rajesh Prasad Department of Computer Science and Engineering, Ajay Kumar Garg Engineering College, Ghaziabad, India; Department of Computer Science, African University of Science and Technology, Abuja, Nigeria
  • Shashank Sahu Department of Computer Science and Engineering, Ajay Kumar Garg Engineering College, Ghaziabad, India
  • Anu Chaudhary Department of Computer Science and Engineering, Ajay Kumar Garg Engineering College, Ghaziabad, India
  • Avdhesh Gupta Department of Computer Science and Engineering, Ajay Kumar Garg Engineering College, Ghaziabad, India
  • Muhammad Musa Liman Department of Computer Science, African University of Science and Technology, Abuja, Nigeria; Department of Computer Science, Federal University of Lafia, Nigeria

Keywords:

Compressed pattern matching, Privacy-preserving search, Bit-parallelism, WBTC, Encrypted search

Abstract

With the tremendous growth of cloud computing, cyber threat intelligence systems, and compressed big-data storage, efficient and secure compressed pattern-matching techniques are in high demand. Traditional compressed pattern-matching methods mainly focus on computational efficiency and do not consider privacy preservation or pattern search over encrypted patterns. We propose a novel privacy-preserving compressed pattern-matching framework, the secure bit-parallel compressor (Secure BIT_COMP), which integrates word-based tagged code (WBTC), a bit-parallel Shift-Or algorithm, encrypted compressed search, and encrypted bit-level operations using a lightweight exclusive-OR (XOR)-based prototype encryption mechanism. The proposed methodology enables direct search without decompressing the text or revealing plaintext in encrypted and compressed text streams. Secure BIT_COMP uses bit-parallel matching and encrypted state transitions to search efficiently without compromising confidentiality. Furthermore, a secure verification invariant based on encrypted boundary validation helps prevent false positives. According to the theory, the proposed encrypted-compressed search framework achieves machine-word-level complexity for privacy-preserving search. Experiments on textual datasets show that the proposed method is more accurate than existing WBTC and tagged Huffman approaches and reduces memory usage while supporting secure matching. The proposed framework extends compressed pattern matching to secure cloud computing, encrypted genomic analysis, digital forensics, and privacy-preserving cybersecurity applications.

0 0

References

[1] Z. He, D. Davila, S. Bi, T. Wang & T. Hou, ``Machine learning for cybersecurity: a survey of applications, adversarial challenges, and future research directions'', Electronics 14 (2025) 4563. https://doi.org/10.3390/electronics14234563.

[2] V. Mäkinen, G. Navarro, J. Sirén & N. Välimäki, ``Storage and retrieval of highly repetitive sequence collections'', Journal of Computational Biology 17 (2010) 281. https://doi.org/10.1089/cmb.2009.0169.

[3] G. Navarro & N. Prezza, ``Universal compressed text indexing'', Theoretical Computer Science 762 (2019) 41. https://doi.org/10.1016/j.tcs.2018.09.007.

[4] R. Giancarlo, G. Manzini, A. Restivo, G. Rosone & M. Sciortino, ``A new class of string transformations for compressed text indexing'', Information and Computation 294 (2023) 105068. https://doi.org/10.1016/j.ic.2023.105068.

[5] R. Prasad, S. K. Upadhyay, Vikas & S. P. Mishra, ``Efficient pattern matching in compressed text via bit-parallel word-based encoding'', Franklin Open 14 (2026) 100494. https://doi.org/10.1016/j.fraope.2026.100494.

[6] B. Wu, S. Zheng, P. Dai, J. Chen & Y. Yao, ``Searchable face recognition authentication based on homomorphic encryption'', Journal of Information Security and Applications 94 (2025) 104208. https://doi.org/10.1016/j.jisa.2025.104208.

[7] F. Kerschbaum, Searching over encrypted data in cloud systems, ACM Symposium on Access Control Models and Technologies (SACMAT), Amsterdam, The Netherlands, 2013, pp. 87--88. https://doi.org/10.1145/2462410.2462888.

[8] C. Marcolla, V. Sucasas, M. Manzano, R. Bassoli, F. H. P. Fitzek & N. Aaraj, ``Survey on fully homomorphic encryption, theory, and applications'', Proceedings of the IEEE 110 (2022) 1572. https://doi.org/10.1109/JPROC.2022.3205665.

[9] Y. Gong, X. Chang, J. Mišić, V. B. Mišić, J. Wang & H. Zhu, ``Practical solutions in fully homomorphic encryption: a survey analyzing existing acceleration methods'', Cybersecurity 7 (2024) 5. https://doi.org/10.1186/s42400-023-00187-4.

[10] S. N. Naikwadi, S. Lokhande, B. V. Patil & P. K. Mudalkar, ``An analysis of enabling technologies for the Internet of Things'', International Journal of Research Publication and Reviews 3 (2022) 884. https://doi.org/10.55248/gengpi.2022.31222.

[11] U. Jayasankar, V. Thirumal & D. Ponnurangam, ``A survey on data compression techniques: from the perspective of data quality, coding schemes, data type and applications'', Journal of King Saud University -- Computer and Information Sciences 33 (2021) 119. https://doi.org/10.1016/J.JKSUCI.2018.05.006.

[12] R. Leelavathi & M. N. G. Prasad, ``A high capacity reversible data hiding scheme in efficient LZW compression'', Multimedia Tools and Applications 82 (2023) 9459. https://doi.org/10.1007/s11042-022-13765-4.

[13] S. Srivastav, P. K. Singh & D. Yadav, ``An approach for fast compressed text matching and to avoid false matching using WBTC and wavelet tree'', EAI Endorsed Transactions on Scalable Information Systems 8 (2020) 1. https://doi.org/10.4108/eai.23-10-2020.166717.

[14] T. Tao & A. Mukherjee, ``Pattern matching in LZW compressed files'', IEEE Transactions on Computers 54 (2005) 929. https://doi.org/10.1109/TC.2005.133.

[15] O. A. S. Ibrahim, B. A. Hamed & T. A. El-Hafeez, ``A new fast technique for pattern matching in biological sequences'', The Journal of Supercomputing 79 (2023) 367. https://doi.org/10.1007/s11227-022-04673-3.

[16] D. Ulus, T. Ferrère, E. Asarin, D. Nickovic & O. Maler, ``Elements of timed pattern matching'', ACM Transactions on Embedded Computing Systems 23 (2024) 59. https://doi.org/10.1145/3645114.

[17] M. Çelebi & U. Yavanoğlu, ``Accelerating pattern matching using a novel multi-pattern-matching algorithm on GPU'', Applied Sciences 13 (2023) 8104. https://doi.org/10.3390/app13148104.

[18] B. A. Hamed, O. A. S. Ibrahim & T. A. El-Hafeez, ``Optimizing classification efficiency with machine learning techniques for pattern matching'', Journal of Big Data 10 (2023) 124. https://doi.org/10.1186/s40537-023-00804-6.

[19] X. Lu, ``The analysis of KMP algorithm and its optimization'', Journal of Physics: Conference Series 1345 (2019) 042005. https://doi.org/10.1088/1742-6596/1345/4/042005.

[20] T. Tao, Compressed pattern matching for text and images, Ph.D. dissertation, Department of Engineering and Computer Science, University of Central Florida, Orlando, FL, USA, 2005. Available online: https://dl.acm.org/doi/book/10.5555/1104465.

[21] E. S. De Moura, G. Navarro, N. Ziviani & R. Baeza-Yates, ``Fast and flexible word searching on compressed text'', ACM Transactions on Information Systems 18 (2000) 113. https://doi.org/10.1145/348751.348754.

[22] E. S. De Moura, N. Ziviani, G. Navarro & R. Baeza-Yates, Fast searching on compressed text allowing errors, 21st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, Melbourne, Australia, 1998, pp. 298--306. https://doi.org/10.1145/290941.291013.

[23] A. Gupta & S. Agarwal, ``Searching a pattern in compressed DNA sequences'', International Journal of Bioinformatics Research and Applications 7 (2011) 115. https://doi.org/10.1504/IJBRA.2011.040091.

[24] D. Díaz-Domínguez & G. Navarro, ``Efficient construction of the BWT for repetitive text using string compression'', Information and Computation 294 (2023) 105088. https://doi.org/10.1016/j.ic.2023.105088.

[25] S. P. Mishra, R. Prasad & G. Singh, ``Fast pattern matching in compressed text using wavelet tree'', IETE Journal of Research 64 (2018) 87. https://doi.org/10.1080/03772063.2017.1347071.

[26] S. Kamara & T. Moataz, Computationally volume-hiding structured encryption, Annual International Conference on the Theory and Applications of Cryptographic Techniques (EUROCRYPT 2019), Darmstadt, Germany, 2019, pp. 183--213. https://doi.org/10.1007/978-3-030-17656-3_7.

[27] J. Chen & F. You, Application of homomorphic encryption in blockchain data security, 2020 4th International Conference on Electronic Information Technology and Computer Engineering (EITCE 2020), Xiamen, China, 2020, pp. 205--209. https://doi.org/10.1145/3443467.3443754.

[28] R. Arnold & T. Bell, Corpus for the evaluation of lossless compression algorithms, DCC 1997 Data Compression Conference, Snowbird, UT, USA, 1997, pp. 201--210. https://doi.org/10.1109/dcc.1997.582019.

[29] P. Ferragina, R. González, G. Navarro & R. Venturini, ``Compressed text indexes: from theory to practice'', ACM Journal of Experimental Algorithmics 13 (2008) 1.12. https://doi.org/10.1145/1412228.1455268.

[30] M. Landauer, F. Skopik, M. Frank, W. Hotwagner, M. Wurzenberger & A. Rauber, ``Maintainable log datasets for evaluation of intrusion detection systems'', IEEE Transactions on Dependable and Secure Computing 20 (2023) 3466. https://doi.org/10.1109/TDSC.2022.3201582.

[31] N. Bertram, J. Fischer & L. Nalbach, Move-r: optimizing the r-index, 22nd International Symposium on Experimental Algorithms (SEA 2024), Vienna, Austria, 2024, pp. 1:1--1:19. https://doi.org/10.4230/LIPIcs.SEA.2024.1.

[32] S. Hamsanandhini & P. Balasubramanie, ``IoT data encryption and phrase search-based efficient processing using a fully homomorphic-based SE (FHSE) scheme'', Pervasive and Mobile Computing 103 (2024) 101952. https://doi.org/10.1016/j.pmcj.2024.101952.

FIG1

Published

2026-09-30

How to Cite

A privacy-preserving framework for compressed pattern matching over encrypted data using lightweight XOR-based encryption and bit-parallel processing. (2027). Journal of the Nigerian Society of Physical Sciences, 9(1), 3637. https://doi.org/10.46481/jnsps.2027.3637

How to Cite

A privacy-preserving framework for compressed pattern matching over encrypted data using lightweight XOR-based encryption and bit-parallel processing. (2027). Journal of the Nigerian Society of Physical Sciences, 9(1), 3637. https://doi.org/10.46481/jnsps.2027.3637

Similar Articles

11-20 of 48

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)