Paper 2020/931 Original: eprint.iacr.org/2020/931 ↗

Homomorphic string search with constant multiplicative depth

Charlotte Bonte
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)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2020-09-01: last updated
2020-07-29: published
Short URL
https://ia.cr/2020/931
License
https://creativecommons.org/licenses/by/4.0/

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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.