Secure Search on Encrypted Data via Multi-Ring Sketch
Adi Akavia, Dan Feldman, Hayim Shaul
Abstract
We consider the secure search problem of retrieving from an unsorted data cost=(x_1,...,xm) an item (i,xi) matching a given lookup value l (for a generic matching criterion either hardcoded or given as part of the query), where both input and output are encrypted by a Fully Homomorphic Encryption (FHE). The secure search problem is central in applications of secure outsourcing to an untrusted party ("the cloud"). Prior secure search algorithms on FHE encrypted data are realized by polynomials of degree Ømega(m), evaluated in Ømega(log m) sequential homomorphic multiplication steps (ie., multiplicative depth) even using an unbounded number of parallel processors. This is too slow with current FHE implementations, especially as the size of the array grows. We present the first secure search algorithm that is realized by a polynomial of logarithmic degree, log3 m, evaluated in O(log log m) sequential homomorphic multiplication steps (ie., multiplicative depth) using m parallel processors. We implemented our algorithm in an open source library based on HElib and ran experiments on Amazon's EC2 cloud with up to 100 processors. Our experiments show that we can securely search in m= millions of entries in less than an hour on a standard EC2 64-cores machine. We achieve our result by: (1) Employing modern data summarization techniques known as sketching for returning as output (the encryption of) a short sketch C from which the matching item (i,xi) can be decoded in time polynomial in log m. (2) Designing for this purpose a novel sketch that returns the first strictly-positive entry in a (not necessarily sparse) array of non-negative integers; this sketch may be of independent interest. (3) Suggesting a multi-ring evaluation of FHE for degree reduction from linear to logarithmic.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 4ec8033a-d630-4605-84ba-da43ca52a6dbCited by top-tier papers5
- SAGMA: Secure Aggregation Grouped by Multiple AttributesTimon Hackenjos, Florian Hahn, Florian KerschbaumSIGMOD 2020 · 22 citations
- LEAF: A Faster Secure Search Algorithm via Localization, Extraction, and ReconstructionRui Wen, Yu Yu, Xiang Xie, Yang ZhangCCS 2020 · 12 citations
- How to Compress Encrypted DataNils Fleischhacker, Kasper Green Larsen, Mark SimkinEUROCRYPT 2023 · 5 citations
- Obfuscated Access and Search Patterns in Searchable EncryptionZhiwei Shang, Simon Oya, Andreas Peter, Florian KerschbaumNDSS 2021
- Compressed Oblivious Encoding for Homomorphically Encrypted SearchSeung Geol Choi, Dana Dachman-Soled, S. Dov Gordon, Linsheng Liu et al.CCS 2021
Related papers
- Toward Efficient Homomorphic Encryption for Outsourced Databases through Parallel CachingOlamide Timothy Tawose, Jun Dai, Lei Yang, Dongfang ZhaoSIGMOD 2023 · 10 citations
- Virtual Secure Platform: A Five-Stage Pipeline Processor over TFHEKotaro Matsuoka, Ryotaro Banno, Naoki Matsumoto, Takashi Sato et al.USENIX Security 2021 · 38 citations
- EncryptedLLM: Privacy-Preserving Large Language Model Inference via GPU-Accelerated Fully Homomorphic EncryptionLeo de Castro, Daniel Escudero, Adya Agrawal, Antigoni Polychroniadou et al.ICML 2025
- Efficient Multi-Key Homomorphic Encryption with Packed Ciphertexts with Application to Oblivious Neural Network InferenceHao Chen, Wei Dai, Miran Kim, Yongsoo SongCCS 2019 · 235 citations
- Engorgio: An Arbitrary-Precision Unbounded-Size Hybrid Encrypted Database via Quantized Fully Homomorphic EncryptionSong Bian, Haowen Pan, Jiaqi Hu, Zhou Zhang et al.USENIX Security 2025
