Efficient Homomorphic String Search via TFHE †
We present a method for secure pattern matching over encrypted texts using TFHE. Our approach realizes a fully secure binary search algorithm by leveraging two operational modes of integer-input TFHE.While the BGV-based method of Bonte and Iliashenko (CCSW’20) requires O(|P|·|T|) secure character comparisons to find a pattern P in a text T, our method reduces this to O(|P| log |T|) comparisons, achieving improved scalability for large texts. As a result, our method can find a pattern of length 100 in an encrypted text containing genomic data of one million characters in less than 5 min, where prior work would require approximately 5 days for the same task. These results highlight the practicality of TFHE and its potential for large-scale secure string search.
Authors
- Shintaro Narisada (ORCID: https://orcid.org/0000-0002-9399-9778)
- Kazuhide Fukushima (ORCID: https://orcid.org/0000-0003-2571-0116)
- Takashi Nishide (ORCID: https://orcid.org/0000-0001-6518-8989)
- Hiroki Okada (ORCID: https://orcid.org/0000-0002-5687-620X)
Institutions
- University of Tsukuba (JP)
- KDDI Research (Japan) (JP)
- The University of Tokyo (JP)
Publication Details
- Journal
- Pragmatic Cybersecurity
- Published
- 2026-08-21
- DOI
- https://doi.org/10.53941/pc.2026.100013
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00