{"id":{"repo_id":"carleton","oai_identifier":"oai:carleton.scholaris.ca:20.500.14718/44830"},"canonical_url":"https://search.ndltd.org/etd/carleton/oai:carleton.scholaris.ca:20.500.14718/44830","repository":{"repo_id":"carleton","name":"Carleton University","base_url":"https://carleton.scholaris.ca/server/oai/request"},"display":{"title":"Homomorphic Encryption Based Obfuscated Complex Queries System","abstract":"This 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.","abstract_html":"This 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.","abstract_has_math":false,"creators":["Sayed, Mahmoud Abdelhafeez Ahmed"],"institution":"Carleton University","degree_name":"Doctor of Philosophy (Ph.D.)","degree_level":"Doctoral","degree_discipline":"Engineering, Electrical and Computer","degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-19T06:54:56Z","subjects":["Electrical engineering","Computer science"],"languages":["en"],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.22215/etd/2025-16803"],"render_values":[{"text":"10.22215/etd/2025-16803","href":"https://doi.org/10.22215/etd/2025-16803","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.14718/44830","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.14718/44830","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://carleton.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acarleton.scholaris.ca%3A20.500.14718%2F44830","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Sayed, Mahmoud Abdelhafeez Ahmed"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-01-19T15:09:38Z"]},{"key":"dc:date.issued","label":"Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["Carleton University"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering, Electrical and Computer"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy (Ph.D.)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.lcsh","label":"Dc Subject Lcsh","values":["Electrical engineering","Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.22215/etd/2025-16803"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.14718/44830"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This 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."]},{"key":"dc:title","label":"Title","values":["Homomorphic Encryption Based Obfuscated Complex Queries System"]},{"key":"local:lac.licence","label":"Local Lac Licence","values":["true"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:creator":["Sayed, Mahmoud Abdelhafeez Ahmed"],"dc:date.accessioned":["2026-01-19T15:09:38Z"],"dc:date.issued":["2025"],"dc:description.abstract":["This 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."],"dc:identifier.doi":["10.22215/etd/2025-16803"],"dc:identifier.uri":["https://hdl.handle.net/20.500.14718/44830"],"dc:language.iso":["en"],"dc:publisher":["Carleton University"],"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."],"dc:subject.lcsh":["Electrical engineering","Computer science"],"dc:title":["Homomorphic Encryption Based Obfuscated Complex Queries System"],"dc:type":["thesis"],"local:lac.licence":["true"],"others:access_status":["open.access"],"thesis:degree_discipline":["Engineering, Electrical and Computer"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy (Ph.D.)"]},"updated_at":"2026-11-19T06:54:56Z"}