Related Experiment Video
Updated: Jun 9, 2026

A Psychophysics Paradigm for the Collection and Analysis of Similarity Judgments
Published on: March 1, 2022
Extending homomorphic algorithms for encrypted text comparison
Iñaki Seco-Aguirre1,2, Cristina Regueiro3, Julen Bernabé-Rodríguez3
1University of the Basque Country UPV/EHU, Plaza Ingeniero Torres Quevedo, 48013, Bilbao, Biscay, Spain. inaki.seco@tecnalia.com.
Abstract:
Fully Homomorphic Encryption (FHE) enables computation on encrypted data without revealing its content, offering strong privacy guarantees for sensitive applications. Despite its potential, current FHE libraries lack native support for string operations, limiting their applicability in domains where textual data is prevalent. This paper introduces a novel algorithm for encrypted string comparison that allows the detection of matches between a query string and a target string, both encrypted under an FHE scheme. The ability to perform private string search is crucial in scenarios where sensitive identifiers must be searched without exposing either the query or the database contents. The proposed algorithm operates entirely within the encrypted domain, preserving data confidentiality throughout the process and avoiding leakage through access patterns or interaction. This work describes the design of the algorithm, proposes an implementation compatible with existing FHE frameworks, and validates its correctness and performance through experimental evaluation. The results obtained demonstrate the feasibility of secure and efficient string matching in homomorphically encrypted environments, addressing a critical limitation in current FHE-based solutions and paving the way for privacy-preserving search capabilities in real-world applications.
Related Concept Videos
Principle of Equivalence
¹H NMR Chemical Shift Equivalence: Homotopic and Heterotopic Protons
¹H NMR Chemical Shift Equivalence: Enantiotopic and Diastereotopic Protons
In chiral compounds such as 2-butanol, replacing the methylene hydrogens at C3 produces a pair of...
Test for Homogeneity
Multiple Comparison Tests
It would be easy to compare two samples using a significance alpha level of 0.05. In other words, there is only one sample pair to be compared. However, it would be difficult to identify a significantly different sample if the number...
Sign Test for Matched Pairs
To conduct the sign test, we first calculate the differences in...