Abstract
dc:description.abstractThis thesis presents a novel Homomorphic Encryption-based system for executing complex queries over plaintext databases or corpora, ensuring the confidentiality of the queries, results, and matching logic. The goal is to enable privacy-preserving querying of remote, non-encrypted data while keeping both the query and its result private. The system integrates three core components: (1) a hybrid matching mechanism using hybrid binary gates for matching plaintext against encrypted queries, (2) an encrypted Finite State Machine (FSM) for complex pattern matching, and (3) an obfuscation technique for evaluation circuits. Together, these components enhance the security, efficiency, and flexibility of encrypted queries. The first contribution introduces a generic hybrid matching system based on hybrid binary gates, abstracting the underlying Homomorphic Encryption (HE) scheme to allow compatibility with multiple HE schemes and libraries. We propose resource-flexible algorithm bundles for exact and range matching and demonstrate significant performance gains by using optimized HE libraries and GPU parallelism. This achieves a query encryption time of only 0.012% compared to existing approaches with an encrypted query size of just 0.047%, and a query-matching speed approximately 20,000 times faster than comparable methods. The second contribution is a homomorphically encrypted FSM design using hybrid and fully homomorphic gates, enabling encrypted regular expression matching against plain data. We provide a thorough security analysis, showing the FSM’s robustness against potential adversarial attacks while supporting complex query structures. Finally, we propose a method for obfuscating evaluation function circuits under HE, concealing not just the inputs and outputs but also the circuit itself. Built on the TFHE scheme, our gates obfuscation mechanism adds an extra layer of security by hiding the function logic from evaluators. Altogether, this work advances encrypted query processing by delivering a scalable, secure, and efficient framework for privacy-preserving complex query matching.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy (Ph.D.)
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Engineering, Electrical and Computer
- Grantor dc:publisher
- Carleton University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sayed, Mahmoud Abdelhafeez Ahmed
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- Copyright © 2025 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, distribution to students, research and scholarship. Theses may only be shared by linking to the Carleton University Institutional Repository and no part may be copied without proper attribution to the author; no part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner.
- Language dc:language.iso
- en