Paper 2020/931
Homomorphic string search with constant multiplicative depth
Charlotte Bonte and Ilia Iliashenko
Abstract
String search finds occurrences of patterns in a larger text. This general problem occurs in various application scenarios, f.e. Internet search, text processing, DNA analysis, etc. Using somewhat homomorphic encryption with SIMD packing, we provide an efficient string search protocol that allows to perform a private search in outsourced data with minimal preprocessing. At the base of the string search protocol lies a randomized homomorphic equality circuit whose depth is independent of the pattern length. This circuit not only improves the performance but also increases the practicality of our protocol as it requires the same set of encryption parameters for a wide range of patterns of different lengths. This constant depth algorithm is about 10 times faster than the prior work. It takes about 5 minutes on an average laptop to find the positions of a string with at most 50 UTF-32 characters in a text with 1000 characters. In addition, we provide a method that compresses the search results, thus reducing the communication cost of the protocol. For example, the communication complexity for searching a string with 50 characters in a text of length 10000 is about 347 KB and 13.9 MB for a text with 1000000 characters.
Metadata
- Available format(s)
- Category
- Cryptographic protocols
- Publication info
- Published elsewhere. Minor revision. CCSW 2020
- Keywords
- secure computationhomomorphic encryptionstring searchpattern matchingbatchingequality circuit
- Contact author(s)
- ilia @ esat kuleuven be
- History
- 2020-09-01: last of 2 revisions
- 2020-07-29: received
- See all versions
- Short URL
- https://ia.cr/2020/931
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2020/931, author = {Charlotte Bonte and Ilia Iliashenko}, title = {Homomorphic string search with constant multiplicative depth}, howpublished = {Cryptology {ePrint} Archive, Paper 2020/931}, year = {2020}, url = {https://eprint.iacr.org/2020/931} }