Paper 2024/1064

ArcEDB: An Arbitrary-Precision Encrypted Database via (Amortized) Modular Homomorphic Encryption

Zhou Zhang, Beihang University
Song Bian, Beihang University
Zian Zhao, Beihang University
Ran Mao, Beihang University
Haoyi Zhou, Beihang University, Zhongguancun Laboratory
Jiafeng Hua, Xidian University
Yier Jin, University of Science and Technology of China
Zhenyu Guan, Beihang University
Abstract

Fully homomorphic encryption (FHE) based database outsourcing is drawing growing research interests. At its current state, there exist two primary obstacles against FHE-based encrypted databases (EDBs): i) low data precision, and ii) high computational latency. To tackle the precision-performance dilemma, we introduce ArcEDB, a novel FHE-based SQL evaluation infrastructure that simultaneously achieves high data precision and fast query evaluation. Based on a set of new plaintext encoding schemes, we are able to execute arbitrary-precision ciphertext-to-ciphertext homomorphic comparison orders of magnitude faster than existing methods. Meanwhile, we propose efficient conversion algorithms between the encoding schemes to support highly composite SQL statements, including advanced filter-aggregation and multi-column synchronized sorting. We perform comprehensive experiments to study the performance characteristics of ArcEDB. In particular, we show that ArcEDB can be up to $57\times$ faster in homomorphic filtering and up to $20\times$ faster over end-to-end SQL queries when compared to the state-of-the-art FHE-based EDB solutions. Using ArcEDB, a SQL query over a 10K-row time-series EDB with 64-bit timestamps only runs for under one minute.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Minor revision. ACM CCS 2024
DOI
10.1145/3658644.3670384
Contact author(s)
zhouzhang @ buaa edu cn
sbian @ buaa edu cn
zhaozian @ buaa edu cn
maoran_44 @ buaa edu cn
haoyi @ buaa edu cn
jiafenghhua @ 163 com
jinyier @ gmail com
guanzhenyu @ buaa edu cn
History
2024-07-01: approved
2024-06-30: received
See all versions
Short URL
https://ia.cr/2024/1064
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1064,
      author = {Zhou Zhang and Song Bian and Zian Zhao and Ran Mao and Haoyi Zhou and Jiafeng Hua and Yier Jin and Zhenyu Guan},
      title = {{ArcEDB}: An Arbitrary-Precision Encrypted Database via (Amortized) Modular Homomorphic Encryption},
      howpublished = {Cryptology ePrint Archive, Paper 2024/1064},
      year = {2024},
      doi = {10.1145/3658644.3670384},
      note = {\url{https://eprint.iacr.org/2024/1064}},
      url = {https://eprint.iacr.org/2024/1064}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.