A Method for Securely Comparing Integers using Binary Trees

Authors: Anselme Tueno (SAP SE), Jonas Janneck (Ruhr University Bochum), David Boehm (SAP SE)

Volume: 2023
Issue: 3
Pages: 469–487
DOI: https://doi.org/10.56553/popets-2023-0092

Download PDF

Abstract: In this paper, we propose a new protocol for secure integer comparison which consists of parties having each a private integer. The goal of the computation is to compare both integers securely and reveal to the parties a single bit that tells which integer is larger. Nothing more should be revealed. To achieve a low communication overhead, this can be done by using homomorphic encryption (HE). Our protocol relies on binary decision trees that is a special case of branching programs and can be implemented using HE. We assume a client-server setting where each party holds one of the integers, the client also holds the private key of a homomorphic encryption scheme and the evaluation is done by the server. In this setting, our protocol outperforms the original DGK protocol of Damgård et al. and reduces the running time by at least 45%. In the case where both inputs are encrypted, our scheme reduces the running time of a variant of DGK by 63%.

Keywords: homomorphic encryption, multi-party computation, integer comparison

Copyright in PoPETs articles are held by their authors. This article is published under a Creative Commons Attribution 4.0 license.