High-Performance Caching of Homomorphic Encryption for Cloud Databases

06/07/2023
by   Dongfang Zhao, et al.
0

While homomorphic encryption (HE) has garnered significant research interest in cloud-based outsourced databases due to its algebraic properties over ciphertexts, the computational overhead associated with HE has hindered its widespread adoption in production database systems. Recently, a caching technique called Radix-based additive caching of homomorphic encryption (Rache) was proposed in SIGMOD'23. The primary objective of this paper is to address the performance overhead resulting from the expensive randomization process in Rache. To achieve this, we propose a novel encryption algorithm called ASEnc, which replaces the computationally intensive full scan of radixes with the caching of a polynomial number of radix-powers during an offline stage. This design significantly reduces the performance impact caused by randomization. Furthermore, this paper aims to extend Rache's capabilities to support floating-point numbers. To accomplish this, we introduce a new encryption algorithm named FSEnc, leveraging efficient constant multiplication available in state-of-the-art fully homomorphic encryption (FHE) schemes. Notably, FSEnc offers the flexibility to cache the coefficients instead of the radixes themselves, which may result in a large number of cached ciphertexts. However, we manage this efficiently by streaming the dynamically cached ciphertexts through a vector of circular buffers. We demonstrate that both encryption algorithms guarantee semantic security (IND-CPA). To validate their performance, we implement both algorithms as loadable functions in MySQL 8.0 and deploy the system prototype on a 96-core server hosted in the Chameleon Cloud. Experimental results showcase that ASEnc outperforms Rache by 2.3–3.3×, while FSEnc surpasses the state-of-the-art floating-point FHE CKKS by 1.8–5.6×.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/26/2023

Silca: Singular Caching of Homomorphic Encryption for Outsourced Databases in Cloud Computing

Ensuring the confidentiality and privacy of sensitive information in clo...
research
11/19/2021

INCHE: High-Performance Encoding for Relational Databases through Incrementally Homomorphic Encryption

Homomorphic encryption (HE) offers data confidentiality by executing que...
research
01/12/2022

Rache: Radix-additive caching for homomorphic encryption

One of the biggest concerns for many applications in cloud computing lie...
research
03/20/2021

Encrypted Value Iteration and Temporal Difference Learning over Leveled Homomorphic Encryption

We consider an architecture of confidential cloud-based control synthesi...
research
07/19/2017

Secure SURF with Fully Homomorphic Encryption

Cloud computing is an important part of today's world because offloading...
research
10/14/2019

On the reliability of computational chaos-based cryptography for information exchange

This paper investigates the use of dynamical chaotic systems to encrypt ...

Please sign up or login with your details

Forgot password? Click here to reset